Sha256: b64b6768fcb2322ad7eedea15aa503aec864d09ee6fca2cc3cfe6dd725013e65
Contents?: true
Size: 551 Bytes
Versions: 4
Compression:
Stored size: 551 Bytes
Contents
require "aws-sdk" require "fake_sqs/test_integration" Aws.config.update( region: "us-east-1", credentials: Aws::Credentials.new("fake", "fake"), ) db = ENV["SQS_DATABASE"] || ":memory:" puts "\n\e[34mRunning specs with database \e[33m#{db}\e[0m" $fake_sqs = FakeSQS::TestIntegration.new( database: db, sqs_endpoint: "0.0.0.0", sqs_port: 4568, start_timeout: 2, ) RSpec.configure do |config| config.before(:each, :sqs) { $fake_sqs.start } config.before(:each, :sqs) { $fake_sqs.reset } config.after(:suite) { $fake_sqs.stop } end
Version data entries
4 entries across 4 versions & 2 rubygems