aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-03 21:52:51 +0100
committerMarkus Reiter2017-02-03 21:52:51 +0100
commit4eef60c6a6d9c39cb6f4261f80bb6f8b1f895b03 (patch)
tree46fc5bb676a9f436de997164c299be5655340692 /Library/Homebrew/cask/test
parent70b1c6de0b889aabc86b1990c59994e6acb8d726 (diff)
downloadbrew-4eef60c6a6d9c39cb6f4261f80bb6f8b1f895b03.tar.bz2
Remove `TestCask` class.
Diffstat (limited to 'Library/Homebrew/cask/test')
-rw-r--r--Library/Homebrew/cask/test/cask/cli/cat_test.rb2
-rw-r--r--Library/Homebrew/cask/test/test_helper.rb4
2 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/cask/test/cask/cli/cat_test.rb b/Library/Homebrew/cask/test/cask/cli/cat_test.rb
index df49efda0..2eca9cfe9 100644
--- a/Library/Homebrew/cask/test/cask/cli/cat_test.rb
+++ b/Library/Homebrew/cask/test/cask/cli/cat_test.rb
@@ -4,7 +4,7 @@ describe Hbc::CLI::Cat do
describe "given a basic Cask" do
before do
@expected_output = <<-EOS.undent
- test_cask 'basic-cask' do
+ cask 'basic-cask' do
version '1.2.3'
sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b'
diff --git a/Library/Homebrew/cask/test/test_helper.rb b/Library/Homebrew/cask/test/test_helper.rb
index 641409284..71ce5752e 100644
--- a/Library/Homebrew/cask/test/test_helper.rb
+++ b/Library/Homebrew/cask/test/test_helper.rb
@@ -35,10 +35,6 @@ Mocha::Integration::MiniTest.activate
# our baby
require "hbc"
-module Hbc
- class TestCask < Cask; end
-end
-
# create and override default directories
Hbc.appdir = Pathname.new(TEST_TMPDIR).join("Applications").tap(&:mkpath)
Hbc.cache.mkpath