]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracepoint_test.rb
Merge remote-tracking branch 'upstream/pull/3758'
[rails.git] / test / models / tracepoint_test.rb
index 45dd7496f838f836bf301b082b7d1eb772f29802..115b8ec9b21935421a44ff6321970e35c7fa59d0 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 !tracepoint.valid?
+    assert_not tracepoint.valid?
   end
 end