spec/spec_helper.rb in danthes-2.0.0 vs spec/spec_helper.rb in danthes-2.0.1
- old
+ new
@@ -1,10 +1,20 @@
require 'rubygems'
require 'bundler/setup'
+require 'simplecov'
+require 'coveralls'
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+
+SimpleCov.start do
+ add_filter 'spec'
+ minimum_coverage(76)
+end
+
+Bundler.require(:default)
require 'faye'
require 'faye/redis'
-Bundler.require(:default)
-require 'coveralls'
-Coveralls.wear!
require 'webmock/rspec'
RSpec.configure do |_config|
end