diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index b532fdc462..50cf4438d9 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -576,5 +576,11 @@ module Spec end port end + + private + + def git_root_dir? + root.to_s == `git rev-parse --show-toplevel`.chomp + end end end