1
0
Fork 0
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:
Pratik Naik 2009-05-30 15:18:46 +01:00
parent 63992e8f3a
commit e767c65cc9

View file

@ -622,7 +622,7 @@ class FilterTest < ActionController::TestCase
%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