You need to balance your parentheses.
At 05:04 PM 8/2/2005, Tuyet Cong-Ton-Nu wrote:
I still can t get Asserts commands to work in the irb.
I got all the require statements correctly (they return true), but here
are some asserts statements that don t give me back anything.
Maybe I don t know how to use them or decipher whether it s true or false:
irb(main):046:1> assert_true(ie.contains_text("none")
irb(main):047:2> assert_true(ie.contains_text("%%%none")
irb(main):048:3> rescue => e
irb(main):049:3> puts e
irb(main):050:3> I get nothing here! I expected it to fail since there is
no such text on my IE page
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general