Sha256: d38ca8e9c0137c15fa4cb7f59b853ba831a27368cb3f5174c1ab8d769bcdc280

Contents?: true

Size: 321 Bytes

Versions: 4

Compression:

Stored size: 321 Bytes

Contents

require 'yaml'
require 'helper'

class IntegrationTest < MiniTest::Test
  class << self
    attr_accessor :api
  end

  def accounts
    YAML.load_file(File.expand_path('../fixtures/mws.yml', __FILE__))
  end

  def setup
    @clients = accounts.map { |mws| self.class.api.const_get(:Client).new(*mws.values) }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
peddler-0.6.3 test/integration_helper.rb
peddler-0.6.2 test/integration_helper.rb
peddler-0.6.1 test/integration_helper.rb
peddler-0.6.0 test/integration_helper.rb