On 11/9/05, Dara Lillis <[EMAIL PROTECTED]> wrote: > That explains it. Thanks for the quick answer. No good deed goes > unpunished, so: > > The Rdoc for contains_text > (http://wtr.rubyforge.org/rdoc/classes/Watir/IE.html#M000294) does say > "Returns true if the specified text was found." Is that wrong? > > Why were my asserts passing when receiving an index (i.e. a number > string) rather than "true"? >
Because, in Ruby, everything is true except for nil and false _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
