Sha256: 7bffa9f41e0c3be26546548c3f42d2c331c3f74413c80408d290f43807b05949
Contents?: true
Size: 878 Bytes
Versions: 2
Compression:
Stored size: 878 Bytes
Contents
# encoding: UTF-8 require 'simplecov' require 'webmock/minitest' module SimpleCov # Setup SimpleCov. module Configuration def clean_filters @filters = [] end end end SimpleCov.configure do clean_filters load_profile 'test_frameworks' end ENV['COVERAGE'] && SimpleCov.start do add_filter '/.rvm/' end require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts 'Run `bundle install` to install missing gems' exit e.status_code end require 'minitest/autorun' require 'minitest/unit' require 'minitest/reporters' Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new require 'mocha/mini_test' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'pokitdok' MiniTest.autorun
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pokitdok-ruby-0.8.1 | spec/spec_helper.rb |
pokitdok-ruby-0.8.0 | spec/spec_helper.rb |