diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-06-06 00:18:06 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-06-07 17:54:41 +0300 |
commit | 6d165c740cecf6aff4c7ec0bbb962e7964c15f1b (patch) | |
tree | 69df90ce77be1a6c679275f4fef7af5efba91095 /spec/support/rspec.rb | |
parent | 0b4312c676ec5d7d07cf866a80dda5da2dbe1b9e (diff) |
Make all uses of `fixture_file_upload` use relative paths
Diffstat (limited to 'spec/support/rspec.rb')
-rw-r--r-- | spec/support/rspec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/rspec.rb b/spec/support/rspec.rb index dffab22d8b5..54b8df7aa19 100644 --- a/spec/support/rspec.rb +++ b/spec/support/rspec.rb @@ -9,4 +9,6 @@ RSpec.configure do |config| config.include StubConfiguration config.include StubObjectStorage config.include StubENV + + config.fixture_path = Rails.root if defined?(Rails) end |