twitter-status-bot/.gems/gems/naught-1.0.0/spec/spec_helper.rb

14 lines
297 B
Ruby
Raw Normal View History

2014-09-03 08:49:59 +00:00
GEM_ROOT = File.expand_path('../../', __FILE__)
$LOAD_PATH.unshift File.join(GEM_ROOT, 'lib')
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
else
require 'simplecov'
SimpleCov.start
end
require 'naught'
Dir[File.join(GEM_ROOT, 'spec', 'support', '**/*.rb')].each { |f| require f }