aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli/outdated_spec.rb
diff options
context:
space:
mode:
authorGautham Goli2017-10-21 13:26:25 +0530
committerGautham Goli2017-10-21 13:53:44 +0530
commit7b2fab8ec5d8e93878d56d31879e8a05e4ab59bc (patch)
tree43b6425f24829fadc8d1ea4bf938d6228cc6ef3b /Library/Homebrew/test/cask/cli/outdated_spec.rb
parentee35d6586791be65b9cfbb976394c9191625aaee (diff)
parenta08f1c674803824e291c326adc2aca80068020e6 (diff)
downloadbrew-7b2fab8ec5d8e93878d56d31879e8a05e4ab59bc.tar.bz2
Merge branch 'master' into audit_line_rubocop_part_4_rebase_attempt_1
Diffstat (limited to 'Library/Homebrew/test/cask/cli/outdated_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/cli/outdated_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/test/cask/cli/outdated_spec.rb b/Library/Homebrew/test/cask/cli/outdated_spec.rb
index 5bbf18d21..1ee6a6d7d 100644
--- a/Library/Homebrew/test/cask/cli/outdated_spec.rb
+++ b/Library/Homebrew/test/cask/cli/outdated_spec.rb
@@ -23,7 +23,7 @@ describe Hbc::CLI::Outdated, :cask do
it "checks all the installed Casks when no token is provided" do
expect {
described_class.run
- }.to output(<<-EOS.undent).to_stdout
+ }.to output(<<~EOS).to_stdout
local-caffeine (1.2.2) != 1.2.3
local-transmission (2.60) != 2.61
EOS
@@ -32,7 +32,7 @@ describe Hbc::CLI::Outdated, :cask do
it "checks only the tokens specified in the command line" do
expect {
described_class.run("local-caffeine")
- }.to output(<<-EOS.undent).to_stdout
+ }.to output(<<~EOS).to_stdout
local-caffeine (1.2.2) != 1.2.3
EOS
end
@@ -40,7 +40,7 @@ describe Hbc::CLI::Outdated, :cask do
it 'ignores "auto_updates" and "latest" Casks even when their tokens are provided in the command line' do
expect {
described_class.run("local-caffeine", "auto-updates", "version-latest-string")
- }.to output(<<-EOS.undent).to_stdout
+ }.to output(<<~EOS).to_stdout
local-caffeine (1.2.2) != 1.2.3
EOS
end
@@ -54,7 +54,7 @@ describe Hbc::CLI::Outdated, :cask do
it "lists only the names (no versions) of the outdated Casks with --quiet" do
expect {
described_class.run("--verbose", "--quiet")
- }.to output(<<-EOS.undent).to_stdout
+ }.to output(<<~EOS).to_stdout
local-caffeine
local-transmission
EOS
@@ -65,7 +65,7 @@ describe Hbc::CLI::Outdated, :cask do
it 'includes the Casks with "auto_updates true" or "version latest" with --greedy' do
expect {
described_class.run("--greedy")
- }.to output(<<-EOS.undent).to_stdout
+ }.to output(<<~EOS).to_stdout
auto-updates (2.57) != 2.61
local-caffeine (1.2.2) != 1.2.3
local-transmission (2.60) != 2.61
@@ -79,7 +79,7 @@ describe Hbc::CLI::Outdated, :cask do
expect {
described_class.run("--greedy")
- }.to output(<<-EOS.undent).to_stdout
+ }.to output(<<~EOS).to_stdout
local-caffeine (1.2.2) != 1.2.3
local-transmission (2.60) != 2.61
version-latest-string (latest) != latest