Sha256: 309008f3a1ee6c2d4c7dc2de124de280e9eca5497956e3db549cf2cf60ea6882

Contents?: true

Size: 643 Bytes

Versions: 2

Compression:

Stored size: 643 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'q3'
require 'aws-sdk'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  
end

#AWS.config(
#	logger: Logger.new($stdout),
#	log_level: :debug,
#	http_wire_trace: true
#)

def q3
	@q3 ||= AWS::SQS.new(
		:sqs_endpoint => 'localhost',
		:access_key_id => 'dummy',
		:secret_access_key => 'dummy',
		:use_ssl => false
	)
end

def client
  q3.client
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
q3-0.0.1 spec/spec_helper.rb
q3-0.0.0 spec/spec_helper.rb