Sha256: 3c05787f3e700295e46dfd4060640aeaf96b8b219618e5e778bcce005579d9a5
Contents?: true
Size: 784 Bytes
Versions: 5
Compression:
Stored size: 784 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.access_key = "test-access-key" c.secret_key = "test-secret-key" c.queue_region = "us-east-1" 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
propono-2.2.1 | test/test_helper.rb |
propono-2.2.0 | test/test_helper.rb |
propono-2.1.0 | test/test_helper.rb |
propono-2.0.0 | test/test_helper.rb |
propono-2.0.0.rc3 | test/test_helper.rb |