]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/traces_controller_test.rb
Fix rubocop warnings
[rails.git] / test / controllers / api / traces_controller_test.rb
index 80b9d1a8458a445e2719c2059a8c2eefe72d49d9..53964b2db0f4ebccfe36ba57ded0e80d8ac29e71 100644 (file)
@@ -178,7 +178,7 @@ module Api
     # Test creating a trace through the api
     def test_create
       # Get file to use
-      fixture = Rails.root.join("test", "gpx", "fixtures", "a.gpx")
+      fixture = Rails.root.join("test/gpx/fixtures/a.gpx")
       file = Rack::Test::UploadedFile.new(fixture, "application/gpx+xml")
       user = create(:user)