]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/trace_test.rb
Merge pull request #2809 from tomhughes/bootstrap
[rails.git] / test / models / trace_test.rb
index bf4e0196bf562c4e74ad795a991cadf391370dbe..8b38b7f0e285700dc83c983e54da37f509da0552 100644 (file)
@@ -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