]> git.openstreetmap.org Git - rails.git/commit
Copy trace fixture files, rather than symlinking
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 18 Mar 2020 14:35:55 +0000 (15:35 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 18 Mar 2020 14:35:55 +0000 (15:35 +0100)
commit1cb0767e3dae1312d0dfefe011f339d814eaf2d5
tree60dfd9b7e57027d254b43c969fc1a12a52553dba
parent0e612ea99af6b15cc808b342d6431e630b940d5d
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.
Gemfile
Gemfile.lock
test/controllers/api/traces_controller_test.rb
test/controllers/traces_controller_test.rb
test/factories/traces.rb
test/models/trace_test.rb