X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..640ea955fe1eb5c4719664e13f6b6bcc5c5ae7f6:/test/models/tracepoint_test.rb?ds=inline diff --git a/test/models/tracepoint_test.rb b/test/models/tracepoint_test.rb index ae258f43a..670db5bce 100644 --- a/test/models/tracepoint_test.rb +++ b/test/models/tracepoint_test.rb @@ -5,7 +5,7 @@ class TracepointTest < ActiveSupport::TestCase tracepoint = create(:tracepoint) assert tracepoint.valid? tracepoint.timestamp = nil - assert !tracepoint.valid? + assert_not tracepoint.valid? end # Ensure the lat/lon is formatted as a decimal e.g. not 4.0e-05