Sha256: ec0aa1fe90097e4272ee31fb4f5d2a120cf83c3e3aaa1f233015bb9fa98196cd

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
ecommerce-client-0.0.2 spec/spec_helper.rb
ecommerce-client-0.0.1 spec/spec_helper.rb