Skip to content

Commit

Permalink
httrack: 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 176c6d2 commit 1c9f329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/httrack.rb
Expand Up @@ -26,6 +26,6 @@ def install
test do
download = "https://raw.githubusercontent.com/Homebrew/homebrew/65c59dedea31/.yardopts"
system bin/"httrack", download, "-O", testpath
assert File.exist?("raw.githubusercontent.com")
assert_predicate testpath/"raw.githubusercontent.com", :exist?
end
end

0 comments on commit 1c9f329

Please sign in to comment.