mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
One last fix to test_filter_parameters_is_protected.
This commit is contained in:
@@ -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 !FilterParamController.action_methods.include?('filter_parameters')
|
||||
assert_raise(NoMethodError) { @controller.filter_parameters([{'password' => '[FILTERED]'}]) }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user