summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-28 16:14:49 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-28 16:14:49 +0100
commitbb1981b1022f810af23653507071520ee1dd4520 (patch)
treef7d8c02af0e4e3b3278d9a85ee3cf34a302ff6df
parent53f7bef15a637bed21dab039366b2502369fcb4e (diff)
downloadbundler-unskip_quality_specs.tar.gz
Fix condition to verify root is a git directoryunskip_quality_specs
-rw-r--r--spec/support/path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb
index de08847ba9..3e42589f4d 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -183,7 +183,7 @@ module Spec
private
def git_root_dir?
- root == `git rev-parse --show-toplevel`
+ root.to_s == `git rev-parse --show-toplevel`.chomp
end
end
end