Skip to content

Commit

Permalink
glide: use assert_predicate instead of File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Oct 6, 2017
1 parent 46c7f28 commit 5119a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/glide.rb
Expand Up @@ -30,6 +30,6 @@ def install
test do
assert_match version.to_s, shell_output("#{bin}/glide --version")
system bin/"glide", "create", "--non-interactive", "--skip-import"
assert File.exist?("glide.yaml")
assert_predicate testpath/"glide.yaml", :exist?
end
end

0 comments on commit 5119a2f

Please sign in to comment.