]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracepoint_test.rb
Use standard bootstrap spacers, rather than custom css, to space out the elements
[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