Sha256: 154d40b60020d53455f9ca571aa968f2ebe616c309ea523bdf50cd82969e0beb

Contents?: true

Size: 699 Bytes

Versions: 3

Compression:

Stored size: 699 Bytes

Contents

require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

require "ecommerce"
require "pry"
require "vcr"

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)

Dir["spec/support/**/*.rb"].each { |f| load f }

VCR.configure do |config|
  config.cassette_library_dir = "spec/vcr_cassettes"
  config.hook_into :typhoeus
  config.ignore_hosts "codeclimate.com"
end

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

  config.before(:each) do
    Ecommerce.configuration.url = "http://sandbox.ecommerce.myfreecomm.com.br"
    Ecommerce.configuration.secret = "41e13768b47d553417b441b863ba"
    Ecommerce.configuration.token = "p9aYsRSIvM"
    Typhoeus::Expectation.clear
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecommerce-client-0.0.5 spec/spec_helper.rb
ecommerce-client-0.0.4 spec/spec_helper.rb
ecommerce-client-0.0.3 spec/spec_helper.rb