Skip to content

Commit 3ad5d8a

Browse files
committed
fix cuke broken by #461
1 parent 7ce7d07 commit 3ad5d8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/view_specs/inferred_controller_path.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Feature: view spec infers controller path and action
77
88
describe "widgets/new" do
99
it "infers the controller path" do
10-
controller.request.path_parameters["controller"].should eq("widgets")
10+
controller.request.path_parameters[:controller].should eq("widgets")
1111
end
1212
end
1313
"""
@@ -21,7 +21,7 @@ Feature: view spec infers controller path and action
2121
2222
describe "widgets/new" do
2323
it "infers the controller path" do
24-
controller.request.path_parameters["action"].should eq("new")
24+
controller.request.path_parameters[:action].should eq("new")
2525
end
2626
end
2727
"""
@@ -35,7 +35,7 @@ Feature: view spec infers controller path and action
3535
3636
describe "widgets/_form" do
3737
it "includes a link to new" do
38-
controller.request.path_parameters["action"].should be_nil
38+
controller.request.path_parameters[:action].should be_nil
3939
end
4040
end
4141
"""

0 commit comments

Comments
 (0)