diff --git a/test/unit/tag_alias_correction_test.rb b/test/unit/tag_alias_correction_test.rb index 1e2780d12..4ab8e7b7d 100644 --- a/test/unit/tag_alias_correction_test.rb +++ b/test/unit/tag_alias_correction_test.rb @@ -27,7 +27,7 @@ class TagAliasCorrectionTest < ActiveSupport::TestCase should "have the correct statistics hash" do assert_equal("zzz", @correction.statistics_hash["antecedent_cache"]) - assert_equal(nil, @correction.statistics_hash["consequent_cache"]) + assert_nil(@correction.statistics_hash["consequent_cache"]) assert_equal(-3, @correction.statistics_hash["antecedent_count"]) assert_equal(1, @correction.statistics_hash["consequent_count"]) end