mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make sure tests pass action name to Controller.action()
This commit is contained in:
parent
63992e8f3a
commit
e767c65cc9
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ class FilterTest < ActionController::TestCase
|
||||||
%w(foo bar baz).each do |action|
|
%w(foo bar baz).each do |action|
|
||||||
request = ActionController::TestRequest.new
|
request = ActionController::TestRequest.new
|
||||||
request.query_parameters[:choose] = action
|
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
|
assert_equal action, response.body
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue