]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracepoint_test.rb
Update for rubocop 0.54.0
[rails.git] / test / models / tracepoint_test.rb
index ae258f43a09b4d9a2b29c1abb44567ded53286b1..670db5bceecdd6acc1d754f870b3ef0179bb17b9 100644 (file)
@@ -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