Sha256: aee6349824daafb6c9a0d2cb0c1926eebfe79ac6417aa6a55450b98d7856e808

Contents?: true

Size: 714 Bytes

Versions: 13

Compression:

Stored size: 714 Bytes

Contents

require 'bundler/setup'
require 'simplecov'
require 'simplecov-rcov'

SimpleCov.start do
  add_filter 'vendor'
end

if ENV['BUILD_NUMBER'] && ENV['BUILD_ID']
  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
end

require 'vcr_setup'

require 'rspec/autorun'
require 'sisow'

RSpec.configure do |config|
  config.mock_with :rspec
  config.color_enabled = true
  config.tty = true
  config.formatter = :progress

  config.before(:each) do
    hash = YAML.load(File.open('./spec/sisow.yml'))

    Sisow.configure do |config|
      config.merchant_id  = hash['merchant_id']
      config.merchant_key = hash['merchant_key']
      config.test_mode    = true
      config.debug_mode   = false
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sisow-1.7 spec/spec_helper.rb
sisow-1.6 spec/spec_helper.rb
sisow-1.5 spec/spec_helper.rb
sisow-1.4 spec/spec_helper.rb
sisow-1.3 spec/spec_helper.rb
sisow-1.2 spec/spec_helper.rb
sisow-1.1.1 spec/spec_helper.rb
sisow-1.1.0 spec/spec_helper.rb
sisow-1.0.1 spec/spec_helper.rb
sisow-1.0.0 spec/spec_helper.rb
sisow-0.9.9 spec/spec_helper.rb
sisow-0.9.5 spec/spec_helper.rb
sisow-0.9.4 spec/spec_helper.rb