[rspec-users] `exit?': undefined method `run?' for Test::Unit:Module (NoMethodError)?

kasutaja jarmo.p at gmail.com
Fri Jun 6 02:23:04 EDT 2008


Why am I getting this error if running from Netbeans or just from command
line with executing blah_spec.rb? If I run with spec bla blah blah_spec.rb
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:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/runner.rb:193:in
`register_at_exit_hook'
        from C:/projects/xpstuff/watir/src/list_sitt.rb:3

-- 
View this message in context: http://www.nabble.com/%60exit-%27%3A-undefined-method-%60run-%27-for-Test%3A%3AUnit%3AModule-%28NoMethodError%29--tp17685410p17685410.html
Sent from the rspec-users mailing list archive at Nabble.com.



More information about the rspec-users mailing list