X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..7df13ff2d3b369b571b6d85fd1a2997290c5541f:/test/models/issue_test.rb diff --git a/test/models/issue_test.rb b/test/models/issue_test.rb index f166282c1..b2a868a93 100644 --- a/test/models/issue_test.rb +++ b/test/models/issue_test.rb @@ -6,7 +6,7 @@ class IssueTest < ActiveSupport::TestCase assert_predicate issue, :valid? issue.assigned_role = "bogus" - assert_not issue.valid? + assert_not_predicate issue, :valid? end def test_reported_user