test/test_helper.rb in picturehouse_uk-3.0.14 vs test/test_helper.rb in picturehouse_uk-4.0.0
- old
+ new
@@ -1,8 +1,18 @@
+require 'codeclimate-test-reporter'
+CodeClimate::TestReporter.start
+
require 'minitest/autorun'
require 'minitest/reporters'
-reporter_options = { color: true, slow_count: 5 }
-Minitest::Reporters.use! [Minitest::Reporters::DefaultReporter.new(reporter_options)]
+Minitest::Reporters.use! [
+ Minitest::Reporters::DefaultReporter.new(color: true, slow_count: 5)
+]
+
require 'webmock/minitest'
+WebMock.allow_net_connect!
+require 'webmock/minitest'
+
require File.expand_path('../../lib/picturehouse_uk.rb', __FILE__)
+
+require_relative 'support/fake_website'