aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli
diff options
context:
space:
mode:
authorL. E. Segovia2017-11-22 16:27:13 +0000
committerL. E. Segovia2017-11-22 16:27:13 +0000
commit7ce43190129378ebb6f46d0a77bd1891bef8c9ad (patch)
tree4e270be353d1915ba18e8fbdd8c44f2c55fb59d0 /Library/Homebrew/test/cask/cli
parentc9b5de4cabac58b64bf14537d8281f00a540767a (diff)
downloadbrew-7ce43190129378ebb6f46d0a77bd1891bef8c9ad.tar.bz2
Upgrade an outdated Cask just by name, no need for --greedy
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
-rw-r--r--Library/Homebrew/test/cask/cli/upgrade_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cask/cli/upgrade_spec.rb b/Library/Homebrew/test/cask/cli/upgrade_spec.rb
index 5c08a4728..435bc38c7 100644
--- a/Library/Homebrew/test/cask/cli/upgrade_spec.rb
+++ b/Library/Homebrew/test/cask/cli/upgrade_spec.rb
@@ -76,7 +76,7 @@ describe Hbc::CLI::Upgrade, :cask do
expect(Hbc::CaskLoader.load("local-transmission").versions).to include("2.60")
end
- it 'and ignores "auto_updates" and "latest" Casks even when their tokens are provided in the command line' do
+ it 'but updates "auto_updates" and "latest" Casks when their tokens are provided in the command line' do
expect(Hbc::CaskLoader.load("local-caffeine")).to be_installed
expect(Hbc.appdir.join("Caffeine.app")).to be_a_directory
expect(Hbc::CaskLoader.load("local-caffeine").versions).to include("1.2.2")
@@ -93,7 +93,7 @@ describe Hbc::CLI::Upgrade, :cask do
expect(Hbc::CaskLoader.load("auto-updates")).to be_installed
expect(Hbc.appdir.join("MyFancyApp.app")).to be_a_directory
- expect(Hbc::CaskLoader.load("auto-updates").versions).to include("2.57")
+ expect(Hbc::CaskLoader.load("auto-updates").versions).to include("2.61")
end
end