]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_diary_entry_test.rb
Switch to edit pane if rich text field validation fails
[rails.git] / test / system / report_diary_entry_test.rb
index 0800e1541aa5da7e49570894f2ff477cac5922bc..dde06cffc31ddeee05e20cbcf75ccb1218bc6996 100644 (file)
@@ -53,8 +53,8 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
     end
 
     issue.reload
-    assert_not issue.resolved?
-    assert issue.open?
+    assert_not_predicate issue, :resolved?
+    assert_predicate issue, :open?
   end
 
   def test_missing_report_params