From: Tom Hughes Date: Wed, 14 Aug 2019 18:10:15 +0000 (+0100) Subject: Explicitly require gpx in the trace model tests X-Git-Tag: live~2982 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/18f5f1d499178bfbeaceb450a4a8e0a2863b3d96 Explicitly require gpx in the trace model tests If we don't do this and no other test manages to trigger an autoload before we run then we might try and autoload it inside a MockFS block which will fail. --- diff --git a/test/models/trace_test.rb b/test/models/trace_test.rb index 77877287b..42bfa6dda 100644 --- a/test/models/trace_test.rb +++ b/test/models/trace_test.rb @@ -1,4 +1,5 @@ require "test_helper" +require "gpx" require "minitest/mock" class TraceTest < ActiveSupport::TestCase