]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/issue_test.rb
Merge branch 'master' into HEAD
[rails.git] / test / models / issue_test.rb
index 02e2580b81daa08ad5dc081248d134f7d43e621d..f166282c1dcbf1bad0aec59d1eafd40f34b2f31b 100644 (file)
@@ -4,7 +4,7 @@ class IssueTest < ActiveSupport::TestCase
   def test_assigned_role
     issue = create(:issue)
 
   def test_assigned_role
     issue = create(:issue)
 
-    assert issue.valid?
+    assert_predicate issue, :valid?
     issue.assigned_role = "bogus"
     assert_not issue.valid?
   end
     issue.assigned_role = "bogus"
     assert_not issue.valid?
   end