[rspec-users] `exit?': undefined method `run?' for Test::Unit:Module (
lists at ruby-forum.com
Wed Sep 3 01:46:34 EDT 2008
I had the same problem with some of my specs. Solved by adding
to the spec file. Not complete sure why this occurs but the
Test::Unit.run? method is defined in test/unit.rb.
> Why am I getting this error if running from Netbeans or just from
> line with executing blah_spec.rb? If I run with spec bla blah
> then it's fine.
> Finished in 0.264 seconds
> 1 example, 0 failures
> c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec.rb:27:in `exit?':
> undefined method `run?' for Test::Unit:Module (NoMethodError)
> from C:/projects/xpstuff/watir/src/list_sitt.rb:3
Posted via http://www.ruby-forum.com/.
More information about the rspec-users