From 26153073f26a758f925910bbc9edc09fccc3e72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Sun, 20 Dec 2015 00:57:32 +0000 Subject: [PATCH] cat_test.rb: fix syntax inconsistencies --- test/cask/cli/cat_test.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/cask/cli/cat_test.rb b/test/cask/cli/cat_test.rb index af95eba4126..4bf12b68181 100644 --- a/test/cask/cli/cat_test.rb +++ b/test/cask/cli/cat_test.rb @@ -23,34 +23,34 @@ describe Hbc::CLI::Cat do end it 'throws away additional Cask arguments and uses the first' do - lambda{ + lambda { Hbc::CLI::Cat.run('basic-cask', 'local-caffeine') }.must_output(@expected_output) end it 'throws away stray options' do - lambda{ + lambda { Hbc::CLI::Cat.run('--notavalidoption', 'basic-cask') }.must_output(@expected_output) end end - it %q{raises an exception when the Cask doesn't exist} do + it 'raises an exception when the Cask does not exist' do lambda { Hbc::CLI::Cat.run('notacask') }.must_raise Hbc::CaskUnavailableError end - describe "when no Cask is specified" do - it "raises an exception" do + describe 'when no Cask is specified' do + it 'raises an exception' do lambda { Hbc::CLI::Cat.run() }.must_raise Hbc::CaskUnspecifiedError end end - describe "when no Cask is specified, but an invalid option" do - it "raises an exception" do + describe 'when no Cask is specified, but an invalid option' do + it 'raises an exception' do lambda { Hbc::CLI::Cat.run('--notavalidoption') }.must_raise Hbc::CaskUnspecifiedError