diff options
| author | Adam Smith | 2017-10-02 11:34:50 -0700 |
|---|---|---|
| committer | Adam Smith | 2017-10-02 11:34:50 -0700 |
| commit | 270bf0506a851af4748355791d1875207213466b (patch) | |
| tree | 9dcb3a730bc7dcb99d7a418a5e483cd0cb2cf45e /Library/Homebrew/test/cask/cli | |
| parent | 92311901c9d85e0e43147386535118b66ca718cd (diff) | |
| download | brew-270bf0506a851af4748355791d1875207213466b.tar.bz2 | |
stylistic changes for cask info tests
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/info_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/test/cask/cli/info_spec.rb b/Library/Homebrew/test/cask/cli/info_spec.rb index 7d6dfd76d..df02bb1e5 100644 --- a/Library/Homebrew/test/cask/cli/info_spec.rb +++ b/Library/Homebrew/test/cask/cli/info_spec.rb @@ -90,7 +90,7 @@ describe Hbc::CLI::Info, :cask do EOS end - it "should print languages if the Cask provided any" do + it "prints languages specified in the Cask" do expect { Hbc::CLI::Info.run("with-languages") }.to output(<<-EOS.undent).to_stdout @@ -107,14 +107,14 @@ describe Hbc::CLI::Info, :cask do EOS end - it 'should not print "Languages" section divider if the languages block has no output' do + it 'does not print "Languages" section divider if the languages block has no output' do expect { - Hbc::CLI::Info.run("with-conditional-languages") + Hbc::CLI::Info.run("without-languages") }.to output(<<-EOS.undent).to_stdout - with-conditional-languages: 1.2.3 + without-languages: 1.2.3 http://example.com/local-caffeine Not installed - From: https://github.com/caskroom/homebrew-spec/blob/master/Casks/with-conditional-languages.rb + From: https://github.com/caskroom/homebrew-spec/blob/master/Casks/without-languages.rb ==> Name None ==> Artifacts |
