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

juuuser jarmo.p at gmail.com
Mon Sep 8 02:02:48 EDT 2008

In that case my specs will be also run by Test::Unit and
assertions/failures/blah count will be displayed. Not exactly what I want.

Satish Gunnu wrote:
> I had the same problem with some of my specs. Solved by adding
> require 'test/unit'
> to the spec file. Not complete sure why this occurs but the 
> Test::Unit.run? method is defined in test/unit.rb.

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

More information about the rspec-users mailing list