X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb10c10ea3effe166ce9e1790d7b79993801ab61..40c46a2ab8aee391f911804b181cde0015540004:/test/models/tracepoint_test.rb diff --git a/test/models/tracepoint_test.rb b/test/models/tracepoint_test.rb index 2ffbef09f..3d836a2e7 100644 --- a/test/models/tracepoint_test.rb +++ b/test/models/tracepoint_test.rb @@ -3,8 +3,8 @@ 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? + assert_not_predicate tracepoint, :valid? end end