summaryrefslogtreecommitdiff
path: root/spec/support/helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers.rb')
-rw-r--r--spec/support/helpers.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index b31b0f05c1..03d9711878 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -514,5 +514,13 @@ module Spec
end
port
end
+
+ def bundler_fileutils
+ if RUBY_VERSION >= "2.4"
+ ::Bundler::FileUtils
+ else
+ ::FileUtils
+ end
+ end
end
end