-require 'test_helper'
+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_predicate tracepoint, :valid?
+ tracepoint.timestamp = nil
+ assert_not_predicate tracepoint, :valid?
end
end