Permalink
Browse files

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

  • Loading branch information...
1 parent 63992e8 commit e767c65cc9c1fc5e2691fbc27756afdf3a2086b3 @lifo lifo committed May 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit e767c65

Please sign in to comment.