[rspec-users] [Cucumber, Webrat] I should see behaves strangely with html

Fernando Perez lists at ruby-forum.com
Sun Jan 18 18:56:27 EST 2009


In my tests, I check to see if a given html tag such as
<title>...</title> has the expected value, sometimes it works sometimes
it tells me it couldn't find the string, although I see it printed out
in the error screen.

I think it comes form the fact that double-quotes are escaped and
slashes too, and some other strange behavior with spaces and dashes, but
I am not sure about that.

How do you get round this problem?
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list