bash-preexec: use assert_predicate instead of File.exist?
This commit is contained in:
parent
bf8272ae85
commit
1f7314e3bb
1 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,6 @@ class BashPreexec < Formula
|
|||
|
||||
test do
|
||||
# Just testing that the file is installed
|
||||
assert File.exist?("#{prefix}/etc/profile.d/bash-preexec.sh")
|
||||
assert_predicate testpath/"#{prefix}/etc/profile.d/bash-preexec.sh", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue