summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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