From 2cecf98023ee39fc14f7c5f236b1969e2e6855b1 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 9 Feb 2017 03:26:57 +0100 Subject: Convert two apps incorrect test to spec. --- .../cask/spec/cask/artifact/two_apps_incorrect_spec.rb | 11 +++++++++++ .../cask/test/cask/artifact/two_apps_incorrect_test.rb | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 Library/Homebrew/cask/spec/cask/artifact/two_apps_incorrect_spec.rb delete mode 100644 Library/Homebrew/cask/test/cask/artifact/two_apps_incorrect_test.rb (limited to 'Library') diff --git a/Library/Homebrew/cask/spec/cask/artifact/two_apps_incorrect_spec.rb b/Library/Homebrew/cask/spec/cask/artifact/two_apps_incorrect_spec.rb new file mode 100644 index 000000000..0aa38d910 --- /dev/null +++ b/Library/Homebrew/cask/spec/cask/artifact/two_apps_incorrect_spec.rb @@ -0,0 +1,11 @@ +require "spec_helper" + +describe Hbc::Artifact::App do + # FIXME: Doesn't actually raise because the `app` stanza is not evaluated on load. + # it "must raise" do + # lambda { + # Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-two-apps-incorrect.rb") + # }.must_raise + # # TODO: later give the user a nice exception for this case and check for it here + # end +end diff --git a/Library/Homebrew/cask/test/cask/artifact/two_apps_incorrect_test.rb b/Library/Homebrew/cask/test/cask/artifact/two_apps_incorrect_test.rb deleted file mode 100644 index a79fc6378..000000000 --- a/Library/Homebrew/cask/test/cask/artifact/two_apps_incorrect_test.rb +++ /dev/null @@ -1,11 +0,0 @@ -require "test_helper" - -describe Hbc::Artifact::App do - # FIXME: Doesn't actually raise because the `app` stanza is not evaluated on load. - # it "must raise" do - # lambda { - # Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-two-apps-incorrect.rb") - # }.must_raise - # # TODO: later give the user a nice exception for this case and check for it here - # end -end -- cgit v1.2.3