diff options
| author | Markus Reiter | 2016-10-21 16:54:45 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-21 17:39:19 +0200 |
| commit | 7016d714ab2c06d0338a814bbdb4b696a2cb5101 (patch) | |
| tree | d7fc795b287dc2e4467f06cae3d7b1adc43f98e3 /Library/Homebrew | |
| parent | 40a197f216f882ef04c6f66bf6cb8dd421703d16 (diff) | |
| download | brew-7016d714ab2c06d0338a814bbdb4b696a2cb5101.tar.bz2 | |
Bring `spec_helper` in line with `test_helper`.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cask/spec/spec_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/spec/spec_helper.rb b/Library/Homebrew/cask/spec/spec_helper.rb index b71e1ecae..1e41e3de4 100644 --- a/Library/Homebrew/cask/spec/spec_helper.rb +++ b/Library/Homebrew/cask/spec/spec_helper.rb @@ -31,11 +31,11 @@ Hbc.appdir = Pathname.new(TEST_TMPDIR).join("Applications").tap(&:mkpath) Hbc.cache.mkpath Hbc.caskroom.mkpath Hbc.default_tap = Tap.fetch("caskroom", "spec").tap do |tap| - tap.path.dirname.mkpath + # link test casks + FileUtils.mkdir_p tap.path.dirname + FileUtils.ln_s Pathname.new(__FILE__).dirname.join("support"), tap.path end -FileUtils.ln_s Pathname.new(__FILE__).dirname.join("support"), Hbc.default_tap.path - RSpec.configure do |config| config.order = :random config.include(Test::Helper::Env) |
