Sha256: 69a38f7bd0777f038d4229919be647398aa6fe34d573641858dcea2bc845dd8c

Contents?: true

Size: 479 Bytes

Versions: 6

Compression:

Stored size: 479 Bytes

Contents

if ENV['CI']
  require 'simplecov'

  SimpleCov.start do
    add_filter "/spec/"
  end
end

require File.expand_path(File.join(__dir__, '..', 'lib', 'rakuten_web_service'))

require 'webmock/rspec'
require 'tapp'

Dir[File.expand_path(File.join(__dir__, "support/**/*.rb"))].each { |f| require f }

RSpec.configure do |c|
  c.mock_with :rspec

  c.before :suite do
    WebMock.disable_net_connect!(allow: "codeclimate.com")
  end

  c.after :each do
    WebMock.reset!
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rakuten_web_service-1.8.0 spec/spec_helper.rb
rakuten_web_service-1.7.0 spec/spec_helper.rb
rakuten_web_service-1.6.1 spec/spec_helper.rb
rakuten_web_service-1.6.0 spec/spec_helper.rb
rakuten_web_service-1.5.0 spec/spec_helper.rb
rakuten_web_service-1.4.2 spec/spec_helper.rb