Sha256: 3ac5c75510b3bdfeae542cd878d727c3c7a3a9a71df490bc390d03f31c1acfc9
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
velibe_lib = File.expand_path('../../lib', __FILE__) if ENV['TRAVIS'] require 'simplecov' require 'coveralls' SimpleCov.formatter = Coveralls::SimpleCov::Formatter SimpleCov.start do # No need to report coverage metrics for the test code add_filter 'test' end # Eager load the entire lib directory so that SimpleCov is able to report # accurate code coverage metrics. at_exit { Dir["#{velibe_lib}/**/*.rb"].each { |rb| require(rb) } } else $LOAD_PATH.unshift velibe_lib require 'velibe' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
velibe-0.2.1 | spec/spec_helper.rb |