X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5966acc207874f3196a43700cb9306411c77fe47..c185ef25984da52d494201d693618313f970284e:/test/models/tracepoint_test.rb?ds=sidebyside 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