Bring spec_helper in line with test_helper.
This commit is contained in:
parent
e51accecfd
commit
364adff35c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user