Sha256: d0a0e5370e92621676a5216b05652cff32fa5650eb4909cf5daff878fcaae43e

Contents?: true

Size: 638 Bytes

Versions: 3

Compression:

Stored size: 638 Bytes

Contents

require 'pry'
require File.expand_path('../../lib/mandrill_event', __FILE__)

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }

RSpec.configure do |config|
  config.order = 'random'

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.include WebhookRequest

  # config.before do
  #   @event_retriever = MandrillEvent.event_retriever
  #   @notifier = MandrillEvent.backend.notifier
  #   MandrillEvent.backend.notifier = @notifier.class.new
  # end

  # config.after do
  #   MandrillEvent.event_retriever = @event_retriever
  #   MandrillEvent.backend.notifier = @notifier
  # end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mandrill_event-0.0.3 spec/spec_helper.rb
mandrill_event-0.0.2 spec/spec_helper.rb
mandrill_event-0.0.1 spec/spec_helper.rb