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:
parent
0e612ea99a
commit
1cb0767e3d
6 changed files with 52 additions and 108 deletions
|
@ -1,5 +1,4 @@
|
|||
require "test_helper"
|
||||
require "minitest/mock"
|
||||
|
||||
module Api
|
||||
class TracesControllerTest < ActionController::TestCase
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "test_helper"
|
||||
require "minitest/mock"
|
||||
|
||||
class TracesControllerTest < ActionController::TestCase
|
||||
# Use temporary directories with unique names for each test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue