X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9ab15f38ea72ccd0a6b6715a9b8014c1f4ce1ad8..c55d346d5f7501fd6f5f636e85c8a60ec67d88ee:/test/models/tracepoint_test.rb diff --git a/test/models/tracepoint_test.rb b/test/models/tracepoint_test.rb index 2ffbef09f..115b8ec9b 100644 --- a/test/models/tracepoint_test.rb +++ b/test/models/tracepoint_test.rb @@ -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