spec/spec_helper.rb in atpay_buttons-1.0.0 vs spec/spec_helper.rb in atpay_buttons-1.1.0
- old
+ new
@@ -1,18 +1,18 @@
require 'simplecov'
-SimpleCov.start
+SimpleCov.start do
+ add_filter '/coverage/'
+ add_filter '/spec/'
+ add_filter '/vendor/'
+end
require 'pry'
require File.dirname(__FILE__) + '/../lib/atpay_buttons'
-
-# require 'minitest'
require 'minitest/autorun'
-
require 'mocha/setup'
# See http://www.jetbrains.com/ruby/webhelp/minitest.html
if ENV["RM_INFO"] || ENV["TEAMCITY_VERSION"]
- require 'active_support'
- require 'minitest/reporters'
- MiniTest::Reporters.use! MiniTest::Reporters::RubyMineReporter.new
+ require 'active_support'
+ require 'minitest/reporters'
+ MiniTest::Reporters.use! MiniTest::Reporters::RubyMineReporter.new
end
-