]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/issue_test.rb
Merge pull request #5019 from tomhughes/oauth2-cleanup
[rails.git] / test / models / issue_test.rb
index 02e2580b81daa08ad5dc081248d134f7d43e621d..b2a868a93f7d62e94576f7abee33155165a1d2af 100644 (file)
@@ -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