]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracepoint_test.rb
Use an inline list for the login auth buttons
[rails.git] / test / models / tracepoint_test.rb
index 2ffbef09fae8f7c5d7de527c2fcb889dc3615e63..115b8ec9b21935421a44ff6321970e35c7fa59d0 100644 (file)
@@ -3,7 +3,7 @@ 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?
   end