diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-05-14 13:55:14 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-05-14 13:55:14 -0500 |
commit | f32b974338cb965a27d521b32304aebd9811a9ba (patch) | |
tree | 0a378d9d9fe873ddad32f1b8903af01a05eb8946 /actionpack | |
parent | 1066b16237ad3287f236973748ccf721c1b0f2d8 (diff) | |
download | rails-f32b974338cb965a27d521b32304aebd9811a9ba.tar.gz rails-f32b974338cb965a27d521b32304aebd9811a9ba.tar.bz2 rails-f32b974338cb965a27d521b32304aebd9811a9ba.zip |
Clean up previously commited test.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/filter_params_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/filter_params_test.rb b/actionpack/test/controller/filter_params_test.rb index af2b0e1ce4..12048bfa08 100644 --- a/actionpack/test/controller/filter_params_test.rb +++ b/actionpack/test/controller/filter_params_test.rb @@ -43,7 +43,7 @@ class FilterParamTest < Test::Unit::TestCase def test_filter_parameters_is_protected FilterParamController.filter_parameter_logging(:foo) - assert !FilterParamController.action_methods.include?('filter_parameters') - assert !(begin @controller.filter_parameters([{'foo' => 'bar'}]) rescue false end) + assert !FilterParamController.action_methods.include?(:filter_parameters) + assert_raise(NoMethodError) { @controller.filter_parameters([{'password' => '[FILTERED]'}]) } end end |