Sha256: 289835f172ed2f0a6418b3e6e251fd0c0803d13e5297d5fc8a48350c341a48f3

Contents?: true

Size: 603 Bytes

Versions: 27

Compression:

Stored size: 603 Bytes

Contents

require 'simplecov'

SimpleCov.start do
  add_filter 'spec'
end

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

require './lib/pheme'

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

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

  config.before 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

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

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pheme-4.0.11 spec/spec_helper.rb
pheme-4.0.10 spec/spec_helper.rb
pheme-4.0.9 spec/spec_helper.rb
pheme-4.0.8 spec/spec_helper.rb
pheme-4.0.7 spec/spec_helper.rb
pheme-4.0.6 spec/spec_helper.rb
pheme-4.0.5 spec/spec_helper.rb