X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7a1615bc55aee72dd03a5dd43c08b4f13f669f06..83c8892c4614bf66e4ecb36deb6b1ef1b21f3187:/test/models/trace_test.rb?ds=sidebyside 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