]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracepoint_test.rb
Added new I18N string: notifier.friend_notification.hi
[rails.git] / test / models / tracepoint_test.rb
index e24a833cf06f93a0b88649c4389d05435705a4eb..45dd7496f838f836bf301b082b7d1eb772f29802 100644 (file)
@@ -1,9 +1,10 @@
 require "test_helper"
 
 class TracepointTest < ActiveSupport::TestCase
 require "test_helper"
 
 class TracepointTest < ActiveSupport::TestCase
-  api_fixtures
-
-  def test_tracepoint_count
-    assert_equal 4, Tracepoint.count
+  def test_timestamp_required
+    tracepoint = create(:tracepoint)
+    assert tracepoint.valid?
+    tracepoint.timestamp = nil
+    assert !tracepoint.valid?
   end
 end
   end
 end