diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-14 07:46:06 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-14 07:46:17 -0700 |
commit | 9cff2484695243248abcaa9ec1c5b246f1c28209 (patch) | |
tree | 98b274ca35b270157e1566d8f77d12ac33a96183 /actionpack/test/controller/filters_test.rb | |
parent | 368b9938ec9d8fbb8146e65c1edf744d32d207c9 (diff) | |
download | rails-9cff2484695243248abcaa9ec1c5b246f1c28209.tar.gz rails-9cff2484695243248abcaa9ec1c5b246f1c28209.tar.bz2 rails-9cff2484695243248abcaa9ec1c5b246f1c28209.zip |
only call methods that are on the superclass
We want to treat the response object as if it's a real response object
(not a test object), so we should only call methods that are on the
superclass.
Diffstat (limited to 'actionpack/test/controller/filters_test.rb')
-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 8a6a51c263..958097b56d 100644 --- a/actionpack/test/controller/filters_test.rb +++ b/actionpack/test/controller/filters_test.rb @@ -819,7 +819,7 @@ class FilterTest < ActionController::TestCase response = test_process(RescuedController) end - assert response.success? + assert response.successful? assert_equal("I rescued this: #<FilterTest::ErrorToRescue: Something made the bad noise.>", response.body) end |