test/test_helper.rb in mtg_sdk-2.0.0 vs test/test_helper.rb in mtg_sdk-2.0.1
- old
+ new
@@ -1,10 +1,22 @@
#test/test_helper.rb
+require 'simplecov'
+require 'coveralls'
+require 'codeclimate-test-reporter'
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter,
+ CodeClimate::TestReporter::Formatter
+])
+SimpleCov.start
+
require_relative '../lib/mtg_sdk'
require 'minitest/autorun'
require 'webmock/minitest'
require 'vcr'
VCR.configure do |c|
c.cassette_library_dir = "test/fixtures"
c.hook_into :webmock
+ c.ignore_hosts 'codeclimate.com'
end
\ No newline at end of file