diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 18:01:48 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 18:01:48 -0300 |
commit | 523f98099d331908db6ab4c45f7657e61a8a4d5f (patch) | |
tree | 73c55e2d365e4b231c65855e189a11f387ca8234 /actionpack/test/controller | |
parent | ad2c21089e435527641d891a30ff8f695114071b (diff) | |
download | rails-523f98099d331908db6ab4c45f7657e61a8a4d5f.tar.gz rails-523f98099d331908db6ab4c45f7657e61a8a4d5f.tar.bz2 rails-523f98099d331908db6ab4c45f7657e61a8a4d5f.zip |
Remove more warnings on AP.
Diffstat (limited to 'actionpack/test/controller')
-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 cf4a461622..d13ebc705a 100644 --- a/actionpack/test/controller/filters_test.rb +++ b/actionpack/test/controller/filters_test.rb @@ -669,7 +669,7 @@ class FilterTest < ActionController::TestCase assert_equal %w( ensure_login find_user ), assigns["ran_filter"] test_process(ConditionalSkippingController, "login") - assert_nil @controller.instance_variable_get("@ran_after_filter") + assert !@controller.instance_variable_defined?("@ran_after_filter") test_process(ConditionalSkippingController, "change_password") assert_equal %w( clean_up ), @controller.instance_variable_get("@ran_after_filter") end |