installer_spec: silence test output.
This commit is contained in:
parent
ac2cbd2137
commit
4440afa99a
@ -101,7 +101,9 @@ describe Hbc::Installer, :cask do
|
|||||||
it "fails to install if sha256 :no_check is used with --require-sha" do
|
it "fails to install if sha256 :no_check is used with --require-sha" do
|
||||||
no_checksum = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/no-checksum.rb")
|
no_checksum = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/no-checksum.rb")
|
||||||
expect {
|
expect {
|
||||||
|
shutup do
|
||||||
Hbc::Installer.new(no_checksum, require_sha: true).install
|
Hbc::Installer.new(no_checksum, require_sha: true).install
|
||||||
|
end
|
||||||
}.to raise_error(Hbc::CaskNoShasumError)
|
}.to raise_error(Hbc::CaskNoShasumError)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user