diff options
| author | Markus Reiter | 2017-02-09 03:26:57 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-02-10 17:19:19 +0100 |
| commit | 2cecf98023ee39fc14f7c5f236b1969e2e6855b1 (patch) | |
| tree | 8e4c3a9aa50ef7a6e5978f970d10494271547cf2 /Library/Homebrew/cask/spec | |
| parent | 1647b9d97a744de066ff87cccf59fbb6fe278680 (diff) | |
| download | brew-2cecf98023ee39fc14f7c5f236b1969e2e6855b1.tar.bz2 | |
Convert two apps incorrect test to spec.
Diffstat (limited to 'Library/Homebrew/cask/spec')
| -rw-r--r-- | Library/Homebrew/cask/spec/cask/artifact/two_apps_incorrect_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
