[rspec-users] superclass mismatch for class ModelExampleGroup (TypeError)

Andrew Zielinski andrew.zielinski.is at gmail.com
Tue Apr 7 19:21:03 EDT 2009


I hope somebody can help me with this. 

I can't seem to run spec_server with rails 2.3.2 using rspec/rspec-rails
1.2.2.  The funny thing is that autospec seems to work fine.

I'm also using mocha 0.9.5 and remarkable 2.3.0.  

Thanks Andrew

Here is the stack trace:

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

/Library/Ruby/Gems/1.8/gems/rspec-rails-1.2.2/lib/spec/rails/example/model_example_group.rb:9:
superclass mismatch for class ModelExampleGroup (TypeError)

from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:158:in
`require'
from
/Library/Ruby/Gems/1.8/gems/rspec-rails-1.2.2/lib/spec/rails/example.rb:6
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:158:in
`require'
from /Library/Ruby/Gems/1.8/gems/rspec-rails-1.2.2/lib/spec/rails.rb:19
 ... 9 levels...
from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in `run'
from ./script/../config/environment.rb:13
from ./script/spec_server:6:in `require'
from ./script/spec_server:6


-- 
View this message in context: http://www.nabble.com/superclass-mismatch-for-class-ModelExampleGroup-%28TypeError%29-tp22940271p22940271.html
Sent from the rspec-users mailing list archive at Nabble.com.



More information about the rspec-users mailing list