]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/issue_test.rb
Merge pull request #4610 from AntonKhorev/no-old-note-api
[rails.git] / test / models / issue_test.rb
index f166282c1dcbf1bad0aec59d1eafd40f34b2f31b..b2a868a93f7d62e94576f7abee33155165a1d2af 100644 (file)
@@ -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