summaryrefslogtreecommitdiff
path: root/spec/support/helpers/fixture_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/fixture_helpers.rb')
-rw-r--r--spec/support/helpers/fixture_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/fixture_helpers.rb b/spec/support/helpers/fixture_helpers.rb
index 7b3b8ae5f7a..eafdecb2e3d 100644
--- a/spec/support/helpers/fixture_helpers.rb
+++ b/spec/support/helpers/fixture_helpers.rb
@@ -8,6 +8,6 @@ module FixtureHelpers
end
def expand_fixture_path(filename, dir: '')
- File.expand_path(Rails.root.join(dir, 'spec', 'fixtures', filename))
+ File.expand_path(rails_root_join(dir, 'spec', 'fixtures', filename))
end
end