dchelimsky/rspec — Issue #56: rspec2 and rails 3 issue
Author: frankapimenta
Created: 2012-03-05 16:43:24+00:00
State: open

Hey people,

I am here lost with this bug trace...
Maybe someone already had it and can give me a tip for solving it:

1) ApplicationController should use ApplicationController
Failure/Error: Unable to find matching line from backtrace
ArgumentError:
wrong number of arguments (1 for 0)
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:130:in `initialize'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:130:in `initialize'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/actionpack-3.1.3/lib/action_dispatch/http/request.rb:43:in `new'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/actionpack-3.1.3/lib/action_dispatch/http/request.rb:43:in `new'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/actionpack-3.1.3/lib/action_dispatch/testing/test_request.rb:10:in `new'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:457:in `setup_controller_request_and_response'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-rails-2.8.1/lib/rspec/rails/adapters.rb:15:in `send'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-rails-2.8.1/lib/rspec/rails/adapters.rb:15:in `setup'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb:35:in `instance_eval'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb:35:in `run_in'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb:70:in `run_all'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb:70:in `each'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb:70:in `run_all'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb:368:in `run_hook'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:292:in `run_before_each_hooks'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:292:in `each'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:292:in `run_before_each_hooks'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:217:in `run_before_each'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:79:in `run'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `run_examples'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /Users/me/.rvm/gems/ruby-1.8.7-p334@rails3/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'

It does not even reach the first spec in the file...

Thanks in advance