Copy trace fixture files, rather than symlinking

Since we are using tmpdirs in order to enable parallel testing, we
can go the full hog and drop the fakefs too and just copy all the
files directly into the tmpdir. If a test makes changes (e.g.
changing the icon file during an import) the copy in the tmpdir is
thrown away at the end of the test anyway.
This commit is contained in:
Andy Allan 2020-03-18 15:35:55 +01:00
parent 0e612ea99a
commit 1cb0767e3d
6 changed files with 52 additions and 108 deletions

View file

@ -1,5 +1,4 @@
require "test_helper"
require "minitest/mock"
module Api
class TracesControllerTest < ActionController::TestCase

View file

@ -1,5 +1,4 @@
require "test_helper"
require "minitest/mock"
class TracesControllerTest < ActionController::TestCase
# Use temporary directories with unique names for each test