From 18f5f1d499178bfbeaceb450a4a8e0a2863b3d96 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 14 Aug 2019 19:10:15 +0100 Subject: [PATCH] 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. --- test/models/trace_test.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5