Sha256: 0a6171be0cbdff985c595e2e2399dc007a1aec5714a95cc8107216404e8aa607
Contents?: true
Size: 513 Bytes
Versions: 5
Compression:
Stored size: 513 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'safely' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} require 'mail' Mail.defaults do delivery_method :test end RSpec.configure do |config| config.mock_with(:mocha) config.before(:each) do Mail::TestMailer.deliveries.clear end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
safely-0.3.2 | spec/spec_helper.rb |
safely-0.3.1 | spec/spec_helper.rb |
safely-0.3.0 | spec/spec_helper.rb |
safely-0.2.0 | spec/spec_helper.rb |
safely-0.1.0 | spec/spec_helper.rb |