Hello. I just ran into an error I wanted to share.
The error message is below. I tracked down the error to the following
- I am using the new version of Watir (1.6.2)
- This version of Watir uses the “user-choices” gem (from Marick)
- This gem does not load Test::Unit, but does define a Test constant
sure why, but Marick likes testing)
- Rspec thinks that Test::Unit has been loaded (even though it hasn’t)
because the Test constant is defined.
As a result, my rspec script gives me this error. Any suggestions?
the guard on the failing method call?
Finished in 18.625 seconds
2 examples, 0 failures
: undefined method
run?' for Test::Unit:Module (NoMethodError) from C:/ruby-186-26/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner.rb:192:inregister_at_exit_hook’