X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2927c6b6becec5dd0a88383ddff08872009c4ba9..349f5e0655f5026db54e4795e48a688eb2b7a654:/test/models/issue_test.rb?ds=sidebyside diff --git a/test/models/issue_test.rb b/test/models/issue_test.rb index 02e2580b8..b2a868a93 100644 --- a/test/models/issue_test.rb +++ b/test/models/issue_test.rb @@ -4,9 +4,9 @@ class IssueTest < ActiveSupport::TestCase def test_assigned_role issue = create(:issue) - assert issue.valid? + assert_predicate issue, :valid? issue.assigned_role = "bogus" - assert_not issue.valid? + assert_not_predicate issue, :valid? end def test_reported_user