Hi everyone,
(Xavier Shay suggested me to post my question here)
Is there a way to avoid the annoying thing below in rspec feedback when the
page code is very long?
One time (bad content error) :
Failure/Error: expect(page)...
"Mauvais titre" expected within "h2[id='main_titre']" in following
template:
<html><head>
[...
a
very
very
very
long page code (two list, three iframes, etc.)
...]
</body></html>
(the error message is on the top)
Another time (tag missing error):
Failure/Error: expect(page).send(meth, have_tag(tag, attrs))
expected following:
<html><head>
[...
a
very
very
very
long page code (two list, three iframes, etc.)
...]
</body></html>
to have at least 1 element matching "h2[id='main_titre']", found 0.
# ./spec/......'
(the error message is on the bottom)
Couldn't it be nice if error message stands both at the top and at the
bottom (or only at the top or at the bottom)?
By the way, thanks to you and the rspec's team for this wonderful tool!
Cheers,
Philippe (from France)
--
You received this message because you are subscribed to the Google Groups
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rspec/b767c645-a44a-4869-8c76-6c03c5011b49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.