moved vendor require to test_helper
This commit is contained in:
parent
032d0175de
commit
4bb35e6af1
17
Rakefile
17
Rakefile
|
@ -1,18 +1,3 @@
|
|||
begin
|
||||
require File.join(File.dirname(__FILE__), 'vendor', 'gems', 'environment')
|
||||
rescue LoadError
|
||||
puts <<-ENVERR
|
||||
==================================================
|
||||
ERROR: Gem environment file not found!
|
||||
|
||||
Hobo uses bundler to handle gem dependencies. To setup the
|
||||
test environment, please run `gem bundle test` If you don't
|
||||
have bundler, you can install that with `gem install bundler`
|
||||
==================================================
|
||||
ENVERR
|
||||
exit
|
||||
end
|
||||
|
||||
require 'rake/testtask'
|
||||
|
||||
task :default => :test
|
||||
|
@ -20,4 +5,4 @@ task :default => :test
|
|||
Rake::TestTask.new do |t|
|
||||
t.libs << "test"
|
||||
t.pattern = 'test/*_test.rb'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1 +1,16 @@
|
|||
begin
|
||||
require File.join(File.dirname(__FILE__), 'vendor', 'gems', 'environment')
|
||||
rescue LoadError
|
||||
puts <<-ENVERR
|
||||
==================================================
|
||||
ERROR: Gem environment file not found!
|
||||
|
||||
Hobo uses bundler to handle gem dependencies. To setup the
|
||||
test environment, please run `gem bundle test` If you don't
|
||||
have bundler, you can install that with `gem install bundler`
|
||||
==================================================
|
||||
ENVERR
|
||||
exit
|
||||
end
|
||||
|
||||
require 'contest'
|
||||
|
|
Loading…
Reference in New Issue