aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/accessibility_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-07 18:30:32 +0200
committerGitHub2017-10-07 18:30:32 +0200
commit5cbf8bdaa7ff080948618d7f3f62f8be2f72ef97 (patch)
treefd6b201daffdf3cc204a0f2d53dd61dfd53e7845 /Library/Homebrew/test/cask/accessibility_spec.rb
parent62315e93f8b1308fc39bdea3d9dfe36db6e5bede (diff)
parent97333df4cb4bd006401193639400a8bc6df56e3a (diff)
downloadbrew-5cbf8bdaa7ff080948618d7f3f62f8be2f72ef97.tar.bz2
Merge pull request #3283 from reitermarkus/cask-loader
Add helper method for Cask fixture paths and refactor CaskLoader.
Diffstat (limited to 'Library/Homebrew/test/cask/accessibility_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/accessibility_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/accessibility_spec.rb b/Library/Homebrew/test/cask/accessibility_spec.rb
index 9e56f6bd3..b77bcb002 100644
--- a/Library/Homebrew/test/cask/accessibility_spec.rb
+++ b/Library/Homebrew/test/cask/accessibility_spec.rb
@@ -1,7 +1,7 @@
# TODO: this test should be named after the corresponding class, once
# that class is abstracted from installer.rb.
describe "Accessibility Access", :cask do
- let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-accessibility-access.rb") }
+ let(:cask) { Hbc::CaskLoader.load(cask_path("with-accessibility-access")) }
let(:fake_system_command) { class_double(Hbc::SystemCommand) }
let(:installer) { Hbc::Installer.new(cask, command: fake_system_command) }