[rspec-users] 0.7.5 Doesn't Let My Tests Run

s.ross cwdinfo at gmail.com
Wed Jan 3 11:57:44 EST 2007


The tests are all running on 0.7.4. In installed 0.7.5 as follows:

- sudo gem install rspec
- script/plugin install svn://rubyforge.org/var/svn/rspec/tags/ 
REL_0_7_5_/vendor/rspec_on_rails/vendor/plugins/rspec
- script/generate rspec

ZenTest (3.4.1) is also installed.

Here is what happens when I run the same tests that ran on 0.7.4. (By  
the way, Rails is build 5065). Any help is appreciated.

$ rake spec
(in /Users/minime/rails/voodoo_work)
/opt/local/bin/ruby -I"/opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/ 
lib" "/opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/bin/spec" "spec/ 
models/cart_spec.rb"
/Users/minime/rails/voodoo_work/config/../vendor/rails/activerecord/ 
lib/../../activesupport/lib/active_support/dependencies.rb:349:in  
`const_missing': uninitialized constant  
Spec::RailsPlugin::ResponseBody::TagExpectations (NameError)
         from /Users/minime/rails/voodoo_work/vendor/plugins/vendor/ 
plugins/rspec/lib/spec/rails_plugin/response_body.rb:4
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:27:in `gem_original_require'
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:27:in `require'
         from /Users/minime/rails/voodoo_work/config/../vendor/rails/ 
activerecord/lib/../../activesupport/lib/active_support/ 
dependencies.rb:364:in `require'
         from /Users/minime/rails/voodoo_work/config/../vendor/ 
plugins/vendor/plugins/rspec/lib/rspec_on_rails.rb:16
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:27:in `gem_original_require'
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:27:in `require'
         from /Users/minime/rails/voodoo_work/config/../vendor/rails/ 
activerecord/lib/../../activesupport/lib/active_support/ 
dependencies.rb:364:in `require'
         from ./spec/models/../spec_helper.rb:3
         from ./spec/models/cart_spec.rb:1:in `require'
         from ./spec/models/cart_spec.rb:1
         from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ 
runner/command_line.rb:21:in `load'
         from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ 
runner/command_line.rb:21:in `run'
         from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ 
runner/command_line.rb:15:in `each'
         from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ 
runner/command_line.rb:15:in `run'
         from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/bin/spec:4


More information about the rspec-users mailing list