Sha256: 56c66ddb9dace32def6e364cf0c629eac348f0c3d64f58829d654cd418b95e8c

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

require 'rspec'
require 'fakeweb'
require 'mandrill'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

FakeWeb.allow_net_connect = false

RSpec.configure do |config|
  config.before(:each) do
    FakeWeb.clean_registry
    @app_id       = 'valid-app-id'
    @api_key      = 'valid-api-key'
    @callback_url = 'https://example.com/callback'
    @error        = File.read(File.expand_path('spec/mandrill/fixtures/error.json'))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mandrill-0.0.4 spec/spec_helper.rb
mandrill-0.0.3 spec/spec_helper.rb
mandrill-0.0.2 spec/spec_helper.rb
mandrill-0.0.1 spec/spec_helper.rb