tests: fix rails 2.7 keyword parameter deprecation warnings.

This commit is contained in:
evazion
2020-05-25 01:48:46 -05:00
parent 66a66cc952
commit 20f8a26709
29 changed files with 44 additions and 44 deletions

View File

@@ -21,7 +21,7 @@ class PostDisapprovalTest < ActiveSupport::TestCase
should "not allow blank messages" do
@post_disapproval = create(:post_disapproval, post: @post_1, message: "")
assert_equal(nil, @post_disapproval.message)
assert_nil(@post_disapproval.message)
end
context "made by alice" do