spec/spec_helper.rb in bogus-0.0.3 vs spec/spec_helper.rb in bogus-0.0.4
- old
+ new
@@ -1,11 +1,23 @@
+require 'simplecov'
+require 'coveralls'
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter]
+
+SimpleCov.start do
+ add_filter "/spec/"
+end
+
require 'bogus'
require 'dependor/rspec'
require 'rr'
require_relative 'support/sample_fake'
require_relative 'support/fake_creator_of_fakes'
+
RSpec.configure do |config|
config.color_enabled = true
config.mock_framework = :rr
end