Sha256: 4ac689fb0def7a8fb14be5b5596478950edc49f5fa48134cf46e5ee07be67d5f
Contents?: true
Size: 761 Bytes
Versions: 9
Compression:
Stored size: 761 Bytes
Contents
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 "/vendor/" end require 'ruby_ami' require 'mocha' require 'countdownlatch' Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f} include RubyAMI RSpec.configure do |config| config.mock_with :mocha config.filter_run :focus => true config.run_all_when_everything_filtered = true config.before :each do uuid = UUIDTools::UUID.random_create UUIDTools::UUID.stubs :random_create => uuid end end
Version data entries
9 entries across 9 versions & 1 rubygems