Sha256: cf079e8238337943c1b7e0c8c2d631c18d2797d1bd003d88312efb9ae0faaa53
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
# for test coverage require 'simplecov' require 'simplecov-rcov' class SimpleCov::Formatter::MergedFormatter def format(result) SimpleCov::Formatter::HTMLFormatter.new.format(result) SimpleCov::Formatter::RcovFormatter.new.format(result) end end SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter SimpleCov.start do add_filter "/spec/" add_filter "/lib/config/" end require 'solrj_wrapper/settings' $LOAD_PATH.unshift(File.dirname(__FILE__)) RSpec.configure do |config| # Set up the environment for testing and make all variables available to the specs settings_env = ENV["SETTINGS"] ||= 'dev' @@settings = Settings.new(settings_env) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solrj_wrapper-0.0.2 | spec/spec_helper.rb |
solrj_wrapper-0.0.1 | spec/spec_helper.rb |