Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure tests pass action name to Controller.action()

  • Loading branch information...
commit e767c65cc9c1fc5e2691fbc27756afdf3a2086b3 1 parent 63992e8
@lifo lifo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/controller/filters_test.rb
View
2  actionpack/test/controller/filters_test.rb
@@ -622,7 +622,7 @@ def test_dynamic_dispatch
%w(foo bar baz).each do |action|
request = ActionController::TestRequest.new
request.query_parameters[:choose] = action
- response = DynamicDispatchController.action.call(request.env).last
+ response = DynamicDispatchController.action(action).call(request.env).last
assert_equal action, response.body
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.