mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clean up previously commited test.
This commit is contained in:
parent
1066b16237
commit
f32b974338
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue