[rspec-devel] [ rspec-Bugs-14171 ] "rake spec" in Rails projects broken in edge rails

noreply at rubyforge.org noreply at rubyforge.org
Sun Sep 23 20:49:36 EDT 2007


Bugs item #14171, was opened at 2007-09-24 10:49
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14171&group_id=797

Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Pete Yandell (notahat)
Assigned to: Nobody (None)
Summary: "rake spec" in Rails projects broken in edge rails

Initial Comment:
As of this patch to Rails:

http://dev.rubyonrails.org/ticket/6673

"rake spec" in a Rails proect (with rspec and rspec_on_rails plugins version 1.0.8) throws:

vendor/plugins/rspec_on_rails/lib/spec/rails.rb:20: undefined method `run=' for Test::Unit:Module (NoMethodError)

It looks like rspec assumes that test/unit has already been required by Rails, which it no longer is.


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14171&group_id=797


More information about the rspec-devel mailing list