tests: remove unnecessary cd

This commit is contained in:
Baptiste Fontaine 2016-02-06 18:40:12 +01:00
parent 2e892bcf63
commit 4ce99fa010

View File

@ -152,10 +152,8 @@ class IntegrationCommandTests < Homebrew::TestCase
url "https://example.com/testball-0.1.tar.gz"
end
EOS
HOMEBREW_CACHE.cd do
assert_match(/testball-0\.1.*\.bottle\.tar\.gz/,
cmd_output("bottle", "--no-revision", "testball"))
end
assert_match(/testball-0\.1.*\.bottle\.tar\.gz/,
cmd_output("bottle", "--no-revision", "testball"))
ensure
cmd("uninstall", "--force", "testball")
cmd("cleanup", "--force", "--prune=all")