gitfs: use assert_predicate instead of File.exist?
This commit is contained in:
parent
1f8ad215e2
commit
5d39b8f02d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class Gitfs < Formula
|
|||
EOS
|
||||
|
||||
system "python", "test.py"
|
||||
assert File.exist?("testing/.git/config")
|
||||
assert_predicate testpath/"testing/.git/config", :exist?
|
||||
cd "testing" do
|
||||
system "git", "remote", "add", "homebrew", "https://github.com/Homebrew/homebrew.git"
|
||||
assert_match "homebrew", shell_output("git remote")
|
||||
|
|
Loading…
Reference in a new issue