diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-06-20 11:19:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 11:19:09 -0400 |
commit | 770175c5e9609cfba857583711d311036fa34bd2 (patch) | |
tree | 17d170ba56523d241d1fbb4e30223b160d6d9609 /actionpack | |
parent | 09cb26bc1e653999827cf3eb955d42a2c932b3f5 (diff) | |
parent | 6631bc569f3f5cd5bef764a167ba1c9587d80fb7 (diff) | |
download | rails-770175c5e9609cfba857583711d311036fa34bd2.tar.gz rails-770175c5e9609cfba857583711d311036fa34bd2.tar.bz2 rails-770175c5e9609cfba857583711d311036fa34bd2.zip |
Merge pull request #29505 from utilum/assert_nil
prepare for Minitest 6
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/parameters/mutators_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/parameters/mutators_test.rb b/actionpack/test/controller/parameters/mutators_test.rb index 2c36f488c6..3fe7340782 100644 --- a/actionpack/test/controller/parameters/mutators_test.rb +++ b/actionpack/test/controller/parameters/mutators_test.rb @@ -35,7 +35,7 @@ class ParametersMutatorsTest < ActiveSupport::TestCase end test "delete returns nil when the key is not present" do - assert_equal nil, @params[:person].delete(:first_name) + assert_nil @params[:person].delete(:first_name) end test "delete returns the value of the given block when the key is not present" do |