Sha256: 182e48e92d2e3b5ed3581db1b13b94c1d81dd8b03616530d18309a9e02922d06
Contents?: true
Size: 1019 Bytes
Versions: 3
Compression:
Stored size: 1019 Bytes
Contents
require 'simplecov' require 'simplecov-rcov' require 'codeclimate-test-reporter' require 'active_support/time' SimpleCov.start do formatter SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::RcovFormatter, CodeClimate::TestReporter::Formatter ] add_group('EenyMeeny', 'lib/eeny-meeny') add_group('Rake Tasks', 'lib/tasks') add_group('Specs', 'spec') end require 'rspec' require 'yaml' require 'mock_rack_app' require 'eeny-meeny' RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus config.order = "random" config.before(:suite) do Time.zone = 'UTC' end config.before(:each) do EenyMeeny.reset! # reset configuration before every test. end config.before(:each, experiments: true) do EenyMeeny.configure do |config| config.experiments = YAML.load_file(File.join('spec','fixtures','experiments.yml')) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eeny-meeny-2.1.1 | spec/spec_helper.rb |
eeny-meeny-2.1.0 | spec/spec_helper.rb |
eeny-meeny-2.0.0 | spec/spec_helper.rb |