Sha256: 9d045c2aa452eb24c1ed477b4fbf6df6bcfee96f870d6d0a3d5d8047a31df701

Contents?: true

Size: 936 Bytes

Versions: 2

Compression:

Stored size: 936 Bytes

Contents

# Copyright (c) 2008-13 Peter H. Boling of RailsBling.com
# Released under the MIT license
require 'launchy'
require 'mail'
require 'rails'
require 'letter_opener'
require 'action_mailer'
require 'email_spec'

# For code coverage, must be required before all application / gem / library code.
require 'coveralls'
Coveralls.wear!

require 'sanitize_email'
require 'sanitize_email/rspec_matchers'

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

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.include(EmailSpec::Helpers)
  config.include(EmailSpec::Matchers)

  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.include SanitizeEmail::RspecMatchers
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sanitize_email-1.1.0 spec/spec_helper.rb
sanitize_email-1.0.11 spec/spec_helper.rb