X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64b3e289ac14533c6fb2b1223b6417ad0446878c..f70ec189894ef6bc37355cad7990420065a0b2cb:/test/models/trace_test.rb diff --git a/test/models/trace_test.rb b/test/models/trace_test.rb index bf4e0196b..8b38b7f0e 100644 --- a/test/models/trace_test.rb +++ b/test/models/trace_test.rb @@ -222,7 +222,7 @@ class TraceTest < ActiveSupport::TestCase trace.import - assert File.exist?(icon_path) + assert_path_exists(icon_path) end def test_import_creates_large_picture @@ -233,7 +233,7 @@ class TraceTest < ActiveSupport::TestCase trace.import - assert File.exist?(large_picture_path) + assert_path_exists(large_picture_path) end def test_import_handles_bz2