diff options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/required_params_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/required_params_test.rb b/actionpack/test/controller/required_params_test.rb index da80888b96..6803dbbb62 100644 --- a/actionpack/test/controller/required_params_test.rb +++ b/actionpack/test/controller/required_params_test.rb @@ -34,7 +34,7 @@ end class ParametersRequireTest < ActiveSupport::TestCase test "required parameters should accept and return false value" do - assert(!ActionController::Parameters.new(person: false).require(:person)) + assert_equal(false, ActionController::Parameters.new(person: false).require(:person)) end test "required parameters must not be nil" do |