aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli/fetch_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-21 02:32:46 +0200
committerMarkus Reiter2017-05-22 02:51:17 +0200
commit02a1e2781fcb808b731fd04d18369ec5bfd3bc68 (patch)
tree8328ec31ac14351eeb8a231f4b932bc9f8221468 /Library/Homebrew/test/cask/cli/fetch_spec.rb
parentdf1864ee435c1c48f87344800d2e7cf055a12f93 (diff)
downloadbrew-02a1e2781fcb808b731fd04d18369ec5bfd3bc68.tar.bz2
Fix tests for `CLI::Options` DSL.
Diffstat (limited to 'Library/Homebrew/test/cask/cli/fetch_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/cli/fetch_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/fetch_spec.rb b/Library/Homebrew/test/cask/cli/fetch_spec.rb
index 1571c2a70..9f3056631 100644
--- a/Library/Homebrew/test/cask/cli/fetch_spec.rb
+++ b/Library/Homebrew/test/cask/cli/fetch_spec.rb
@@ -69,7 +69,7 @@ describe Hbc::CLI::Fetch, :cask do
it "raises an exception" do
expect {
Hbc::CLI::Fetch.run("--notavalidoption")
- }.to raise_error(Hbc::CaskUnspecifiedError)
+ }.to raise_error(/invalid option/)
end
end
end