[Wtr-general] FireWatir: test/unit assertions can't be found?

2007-05-09 Thread Chris McMahon
This is odd: require 'rubygems' require 'firewatir' require 'test/unit' require 'firewatir/testUnitAddons' include FireWatir ff = FireWatir::Firefox.new() ff.goto(http://www.socialtext.net/stoss/index.cgi?mcmahon_test;) ff.link(:text, Help).click sleep 5 ff.attach(:title, /Documentation/)

Re: [Wtr-general] FireWatir: test/unit assertions can't be found?

2007-05-09 Thread Chris McMahon
include Test::Unit::Assertions # you need to mix in the assertion methods if you want to use them outside of a testcase. Thanks, got it, I should have seen that. -C ___ Wtr-general mailing list Wtr-general@rubyforge.org