[Wtr-general] RSpec and Watir
Bret Pettichord
bret at pettichord.com
Thu Sep 14 11:18:03 EDT 2006
>
> I read this just briefly, but having just this week spent a stupid
> amount of time refactoring all my assert_equal and assert_match
> statements so the arguments are in the right order, I NEED to check
> this out.
Here is there doc for the "should" commands:
http://rspec.rubyforge.org/documentation/expectations.html
Note that for all the should commands, you can use either underscores
("_") or dots (".").
Hilights:
ie.html.should.match /Success/
ie.should.have(3).tables
More information about the Wtr-general
mailing list