Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix cuke broken by #461

  • Loading branch information...
commit 3ad5d8a115c3bf50a2e9a361cc9a1f19210afd58 1 parent 7ce7d07
@dchelimsky dchelimsky authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 features/view_specs/inferred_controller_path.feature
View
6 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
"""
Please sign in to comment.
Something went wrong with that request. Please try again.