diff --git a/actionpack/test/controller/filters_test.rb b/actionpack/test/controller/filters_test.rb index b0b7274690..5e28ef6007 100644 --- a/actionpack/test/controller/filters_test.rb +++ b/actionpack/test/controller/filters_test.rb @@ -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