X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..e7fb89c8d016d01accb8714c138ba1ff89e5dce8:/test/models/tracepoint_test.rb?ds=sidebyside diff --git a/test/models/tracepoint_test.rb b/test/models/tracepoint_test.rb index 45dd7496f..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 !tracepoint.valid? + assert_not_predicate tracepoint, :valid? end end