]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracepoint_test.rb
Merge pull request #4813 from AntonKhorev/no-fst-italic
[rails.git] / test / models / tracepoint_test.rb
index 2ffbef09fae8f7c5d7de527c2fcb889dc3615e63..3d836a2e7a4f12b4ddf9441c3da6c7f10d65bed7 100644 (file)
@@ -3,8 +3,8 @@ require "test_helper"
 class TracepointTest < ActiveSupport::TestCase
   def test_timestamp_required
     tracepoint = create(:tracepoint)
-    assert tracepoint.valid?
+    assert_predicate tracepoint, :valid?
     tracepoint.timestamp = nil
-    assert_not tracepoint.valid?
+    assert_not_predicate tracepoint, :valid?
   end
 end