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