summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-05-19 00:58:19 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-05-19 00:58:33 +0900
commit6c1a51dae82cf2bccdddd0376d57ba7574c01a18 (patch)
treec19f14aa0b5733ba45b2165614dd607186ad7a36 /spec
parent1f011cccb16ca9e8ee378cb5a9d4c14459afd68c (diff)
Skip some tests if extracted from tarball (again)
Fix up previous commit ref 9aa75795f9f438d5c874d8e418c3c7cdd63024fa, 38002a8adbd98266426940d829429a30af0622a4, and 0e60b59d5884edb8f9aea023efd9b24f1ff02049
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/support/helpers.rb6
1 files changed, 6 insertions, 0 deletions
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