Sha256: 8e3c1f0d81ef32ce3502d99790ea555c2a3a9d3134dc33adca434c88f512d938

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

gem "minitest"
require "minitest/autorun"
require "minitest/pride"
require "minitest/mock"
require "mocha/setup"

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "propono"

class Minitest::Test
  def setup
  end

  def propono_config
    @propono_config ||= Propono::Configuration.new.tap do |c|
      c.application_name = "MyApp"
      c.queue_suffix = ""

      c.logger.stubs(:debug)
      c.logger.stubs(:info)
      c.logger.stubs(:error)
    end
  end

  def aws_client
    @aws_client ||= Propono::AwsClient.new(mock).tap do |c|
      c.stubs(:sns_client)
      c.stubs(:sqs_client)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
propono-3.0.0 test/test_helper.rb