moved vendor require to test_helper

This commit is contained in:
John Bender 2010-01-21 21:07:01 -08:00
parent 032d0175de
commit 4bb35e6af1
2 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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'