From e767c65cc9c1fc5e2691fbc27756afdf3a2086b3 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sat, 30 May 2009 15:18:46 +0100 Subject: Make sure tests pass action name to Controller.action() --- actionpack/test/controller/filters_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/controller') 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 -- cgit v1.2.3