Sha256: e1ed2c740fc1a0261aa8b71e3498dc44b80a43dd26b7635ce5e7a90c360453d2
Contents?: true
Size: 977 Bytes
Versions: 2
Compression:
Stored size: 977 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 return @propono_config if @propono_config @propono_config = Propono::Configuration.new @propono_config.access_key = "test-access-key" @propono_config.secret_key = "test-secret-key" @propono_config.queue_region = "us-east-1" @propono_config.application_name = "MyApp" @propono_config.queue_suffix = "" @propono_config.logger.stubs(:debug) @propono_config.logger.stubs(:info) @propono_config.logger.stubs(:error) @propono_config end def aws_client return @aws_client if @aws_client @aws_client = Propono::AwsClient.new(mock) @aws_client.stubs(:sns_client) @aws_client.stubs(:sqs_client) @aws_client end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
propono-2.0.0.rc2 | test/test_helper.rb |
propono-2.0.0.rc1 | test/test_helper.rb |