rubocop: autofix problems.
This commit is contained in:
parent
190deb36b5
commit
3060125c45
@ -255,7 +255,7 @@ shared_examples "#uninstall_phase or #zap_phase" do
|
||||
.with(
|
||||
"osascript",
|
||||
args: ["-e", 'tell application "System Events" to delete every login item whose name is "Fancy"'],
|
||||
)
|
||||
)
|
||||
.and_return(instance_double("SystemCommand::Result"))
|
||||
|
||||
subject.public_send(:"#{artifact_dsl_key}_phase", command: fake_system_command)
|
||||
|
@ -111,7 +111,7 @@ describe Cask::Installer, :cask do
|
||||
expect {
|
||||
Cask::Installer.new(with_installer_manual).install
|
||||
}.to output(
|
||||
<<~EOS
|
||||
<<~EOS,
|
||||
==> Satisfying dependencies
|
||||
==> Downloading file:#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/cask/caffeine.zip
|
||||
==> Verifying SHA-256 checksum for Cask 'with-installer-manual'.
|
||||
|
@ -20,7 +20,7 @@ describe Descriptions do
|
||||
descriptions_hash["somedev/external/foo"] = "External foo"
|
||||
|
||||
expect { subject.print }.to output(
|
||||
<<~EOS
|
||||
<<~EOS,
|
||||
homebrew/core/foo: Core foo
|
||||
somedev/external/foo: External foo
|
||||
EOS
|
||||
@ -33,7 +33,7 @@ describe Descriptions do
|
||||
descriptions_hash["otherdev/external/foo"] = "Other external foo"
|
||||
|
||||
expect { subject.print }.to output(
|
||||
<<~EOS
|
||||
<<~EOS,
|
||||
homebrew/core/foo: Core foo
|
||||
otherdev/external/foo: Other external foo
|
||||
somedev/external/foo: External foo
|
||||
|
@ -61,7 +61,7 @@ describe Messages do
|
||||
|
||||
it "prints caveat details" do
|
||||
expect { messages.display_messages }.to output(
|
||||
<<~EOS
|
||||
<<~EOS,
|
||||
==> Caveats
|
||||
==> foo
|
||||
Zsh completions were installed
|
||||
@ -88,7 +88,7 @@ describe Messages do
|
||||
|
||||
it "prints installation times" do
|
||||
expect { messages.display_messages }.to output(
|
||||
<<~EOS
|
||||
<<~EOS,
|
||||
==> Installation times
|
||||
foo 1.100 s
|
||||
EOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user