Sha256: d98684ae89aa319a2ff448d845f9621b8cefd8de6aa0b6668ae26448239c4993

Contents?: true

Size: 540 Bytes

Versions: 11

Compression:

Stored size: 540 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
pheme-3.0.1 spec/spec_helper.rb
pheme-3.0.0 spec/spec_helper.rb
pheme-1.2.2 spec/spec_helper.rb
pheme-1.2.1 spec/spec_helper.rb
pheme-1.2.0 spec/spec_helper.rb
pheme-1.1.1 spec/spec_helper.rb
pheme-1.1.0 spec/spec_helper.rb
pheme-1.0.0 spec/spec_helper.rb
pheme-0.0.11 spec/spec_helper.rb
pheme-0.0.10 spec/spec_helper.rb
pheme-0.0.9 spec/spec_helper.rb