rspec/rspec-rails — Issue #484: Rspec not finding Test::Unit::TestCase::Assertions
Author: cocoahero
Created: 2012-01-16 21:38:57+00:00
State: open

Just created a brand new rails app and added rspec-rails and guard to the Gemfile. I started up Guard and got this backtrace.

```
/Users/jbaker/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/testcase.rb:9:in `': uninitialized constant Test::Unit::TestCase::Assertions (NameError)
from /Users/jbaker/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/testcase.rb:8:in `'
from /Users/jbaker/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/testcase.rb:4:in `'
from /Users/jbaker/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/testcase.rb:3:in `'
from /Users/jbaker/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:5:in `'
from /Users/jbaker/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/assertions.rb:4:in `'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-rails-2.8.1/lib/rspec/rails/adapters.rb:2:in `'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-rails-2.8.1/lib/rspec/rails.rb:10:in `'
from /Users/jbaker/Development/Projects/myapp/spec/spec_helper.rb:4:in `'
from /Users/jbaker/Development/Projects/myapp/spec/requests/tasks_spec.rb:1:in `require'
from /Users/jbaker/Development/Projects/myapp/spec/requests/tasks_spec.rb:1:in `'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `block in load_spec_files'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `map'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load_spec_files'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22:in `run'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
from /Users/jbaker/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
```

Note that I am running ruby 1.9.3-p0 and rspec-rails 2.8.1.

Any ideas?