spec/spec_helper.rb in redbooth-ruby-0.0.2 vs spec/spec_helper.rb in redbooth-ruby-0.0.3
- old
+ new
@@ -1,17 +1,21 @@
+require "codeclimate-test-reporter"
+CodeClimate::TestReporter.start
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'redbooth'
+require 'redbooth-ruby'
require 'rspec'
require 'webmock/rspec'
require 'pry'
require 'vcr'
# Requires support files
Dir[File.join(File.dirname(__FILE__), 'shared/**/*.rb')].each {|f| require f}
# VCR cassette configuration
VCR.configure do |config|
+ config.ignore_hosts 'codeclimate.com'
config.cassette_library_dir = 'spec/cassettes'
config.hook_into :webmock
config.default_cassette_options = { record: :new_episodes }
config.configure_rspec_metadata!
end