X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24d605f567f89024dc9cc1d09db836cc2af53007..d3bd761a0f5bbd5dc8aab548a958d44b4379cf2c:/test/models/issue_test.rb diff --git a/test/models/issue_test.rb b/test/models/issue_test.rb index 02e2580b8..f166282c1 100644 --- a/test/models/issue_test.rb +++ b/test/models/issue_test.rb @@ -4,7 +4,7 @@ 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? end