Sha256: 972833b60ab6fc9d8594ccad679f7b7d0cd881fa15b7207da28a4e8d96a60008

Contents?: true

Size: 577 Bytes

Versions: 3

Compression:

Stored size: 577 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'rspec'
require 'rspec/its'
require 'rspec/collection_matchers'
require 'pp'

require './lib/pheme'

Dir["./spec/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  ENV['AWS_REGION'] = 'us-east-1'

  config.before(:each) do
    Pheme.reset_configuration!
  end
end

def use_default_configuration!
  Pheme.configure do |config|
    config.sqs_client = double
    config.sns_client = double
    config.logger = Logger.new(nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pheme-3.1.2 spec/spec_helper.rb
pheme-3.1.1 spec/spec_helper.rb
pheme-3.1.0 spec/spec_helper.rb