diff options
| author | Markus Reiter | 2017-10-07 18:30:32 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-07 18:30:32 +0200 |
| commit | 5cbf8bdaa7ff080948618d7f3f62f8be2f72ef97 (patch) | |
| tree | fd6b201daffdf3cc204a0f2d53dd61dfd53e7845 /Library/Homebrew/test/support | |
| parent | 62315e93f8b1308fc39bdea3d9dfe36db6e5bede (diff) | |
| parent | 97333df4cb4bd006401193639400a8bc6df56e3a (diff) | |
| download | brew-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/support')
| -rw-r--r-- | Library/Homebrew/test/support/helper/fixtures.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/support/helper/fixtures.rb b/Library/Homebrew/test/support/helper/fixtures.rb index 716fe2008..460fb4aef 100644 --- a/Library/Homebrew/test/support/helper/fixtures.rb +++ b/Library/Homebrew/test/support/helper/fixtures.rb @@ -8,6 +8,10 @@ module Test def bundle_path(name) Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.bundle") end + + def cask_path(name) + Pathname.new("#{TEST_FIXTURE_DIR}/cask/Casks/#{name}.rb") + end end end end |
