Permalink
Browse files

fix cuke broken by #461

  • Loading branch information...
1 parent 7ce7d07 commit 3ad5d8a115c3bf50a2e9a361cc9a1f19210afd58 @dchelimsky dchelimsky committed Apr 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 features/view_specs/inferred_controller_path.feature
@@ -7,7 +7,7 @@ Feature: view spec infers controller path and action
describe "widgets/new" do
it "infers the controller path" do
- controller.request.path_parameters["controller"].should eq("widgets")
+ controller.request.path_parameters[:controller].should eq("widgets")
end
end
"""
@@ -21,7 +21,7 @@ Feature: view spec infers controller path and action
describe "widgets/new" do
it "infers the controller path" do
- controller.request.path_parameters["action"].should eq("new")
+ controller.request.path_parameters[:action].should eq("new")
end
end
"""
@@ -35,7 +35,7 @@ Feature: view spec infers controller path and action
describe "widgets/_form" do
it "includes a link to new" do
- controller.request.path_parameters["action"].should be_nil
+ controller.request.path_parameters[:action].should be_nil
end
end
"""

0 comments on commit 3ad5d8a

Please sign in to comment.