diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-05-30 15:18:46 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-30 15:18:46 +0100 |
commit | e767c65cc9c1fc5e2691fbc27756afdf3a2086b3 (patch) | |
tree | c885fa7bd4bd9c7520f2f3fc92dc9ea2c4e7b98e | |
parent | 63992e8f3af48d34d70ce33828c93625af9e8562 (diff) | |
download | rails-e767c65cc9c1fc5e2691fbc27756afdf3a2086b3.tar.gz rails-e767c65cc9c1fc5e2691fbc27756afdf3a2086b3.tar.bz2 rails-e767c65cc9c1fc5e2691fbc27756afdf3a2086b3.zip |
Make sure tests pass action name to Controller.action()
-rw-r--r-- | actionpack/test/controller/filters_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |