diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-06-28 13:48:35 +0200 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-06-28 13:48:45 +0200 |
commit | 1f422b9aa9899acf3319ef18c59f2985d8e779b5 (patch) | |
tree | a364ea134c90c46c5ea4f9b9946895966e696a0f /spec/support | |
parent | ad7ae9585b390a4cc04f466349b8468da5e0018b (diff) | |
download | bundler-1f422b9aa9899acf3319ef18c59f2985d8e779b5.tar.gz |
Fix expectations to adapt to the fileutils bundler is usingseg-vendor-fileutils
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/helpers.rb | 8 |
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 |