Hey,
I'm migrating an app to Rails 3 + RSpec 2 and, as expected, a number of
specs broke. Unfortunately, I can't really find how to fix them. For
instance, there is a spec:
describe SessionsController do
describe "route recognition" do
it "should generate params from GET /login correctly" d
Some additional info:
* I'm on Rails 3 beta4 and RSpec 2 beta 13.
* It doesn't matter whether I invoke the spec as
bundle exec spec spec/controllers/sessions_controller_spec.rb
or
bundle exec rake spec
--
Posted via http://www.ruby-forum.com/.
__
Hey,
Thanks, that works fine and makes sense. Now there are also a few specs
that assert the inverse direction:
describe SessionsController do
describe "route generation" do
it "should route the destroy sessions action correctly" do
route_for(:controller => 'sessions', :action => 'de
/reporter.rb:13:in
`report'
from
$REE_gems_path/rspec-core-2.0.0.rc/lib/rspec/core/command_line.rb:23:in
`run'
from $REE_gems_path/rspec-core-2.0.0.rc/lib/rspec/core/runner.rb:55:in
`run_in_process'
from $REE_gems_path/rspec-core-2.0.0.rc