moving back from spec/ -> test/
since various tooling keeps guessing we're using rspec
This commit is contained in:
parent
33bd190694
commit
cd70474aa9
|
@ -1,3 +1,3 @@
|
|||
[submodule "spec/support/homebrew"]
|
||||
path = spec/support/homebrew
|
||||
[submodule "test/support/homebrew"]
|
||||
path = test/support/homebrew
|
||||
url = https://github.com/mxcl/homebrew.git
|
||||
|
|
3
Rakefile
3
Rakefile
|
@ -1,7 +1,8 @@
|
|||
require 'rake/testtask'
|
||||
|
||||
Rake::TestTask.new do |t|
|
||||
t.pattern = "spec/*_test.rb"
|
||||
t.pattern = "test/*_test.rb"
|
||||
t.libs << 'test'
|
||||
end
|
||||
|
||||
task :default => :test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative 'spec_helper'
|
||||
require 'test_helper'
|
||||
|
||||
describe Cask do
|
||||
describe "load" do
|
|
@ -9,7 +9,7 @@ lib_path = brew_cask_path.join('lib')
|
|||
$:.push(lib_path)
|
||||
|
||||
# add vendored homebrew to load path
|
||||
homebrew_path = brew_cask_path.join('spec', 'support', 'homebrew')
|
||||
homebrew_path = brew_cask_path.join('test', 'support', 'homebrew')
|
||||
$:.push(homebrew_path.join('Library', 'Homebrew'))
|
||||
|
||||
# require homebrew testing env
|
||||
|
@ -24,6 +24,9 @@ require 'minitest/spec'
|
|||
require 'minitest/autorun'
|
||||
require 'purdytest'
|
||||
|
||||
# sometimes you need to mock
|
||||
require 'mocha'
|
||||
|
||||
# our baby
|
||||
require 'cask'
|
||||
|
Loading…
Reference in New Issue