aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-04 17:54:52 +0200
committerMarkus Reiter2017-10-04 18:52:34 +0200
commite9c587d7510ca6fe820bbc03db5bb6d0b9672c22 (patch)
treea7209c92bcc02b2d20a111f282f1bb0dbbd9c588 /Library/Homebrew/test/cask/cli
parent02362259a54c0b8d7399e7b19f0a56519cb1b9d1 (diff)
downloadbrew-e9c587d7510ca6fe820bbc03db5bb6d0b9672c22.tar.bz2
Refactor tests.
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
-rw-r--r--Library/Homebrew/test/cask/cli/list_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cask/cli/list_spec.rb b/Library/Homebrew/test/cask/cli/list_spec.rb
index 4f59aafe9..6a92289aa 100644
--- a/Library/Homebrew/test/cask/cli/list_spec.rb
+++ b/Library/Homebrew/test/cask/cli/list_spec.rb
@@ -72,8 +72,9 @@ describe Hbc::CLI::List, :cask do
it "lists the installed files for those Casks" do
casks.each(&InstallHelper.method(:install_without_artifacts_with_caskfile))
- transmission.artifacts.select { |a| a.is_a?(Hbc::Artifact::App) }
- .each { |artifact| artifact.install_phase(command: Hbc::NeverSudoSystemCommand, force: false) }
+ transmission.artifacts.select { |a| a.is_a?(Hbc::Artifact::App) }.each do |artifact|
+ artifact.install_phase(command: Hbc::NeverSudoSystemCommand, force: false)
+ end
expect {
described_class.run("local-transmission", "local-caffeine")