diff options
| author | Markus Reiter | 2017-10-04 17:54:52 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-10-04 18:52:34 +0200 |
| commit | e9c587d7510ca6fe820bbc03db5bb6d0b9672c22 (patch) | |
| tree | a7209c92bcc02b2d20a111f282f1bb0dbbd9c588 /Library/Homebrew/test/cask/cli | |
| parent | 02362259a54c0b8d7399e7b19f0a56519cb1b9d1 (diff) | |
| download | brew-e9c587d7510ca6fe820bbc03db5bb6d0b9672c22.tar.bz2 | |
Refactor tests.
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/list_spec.rb | 5 |
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") |
