require 'mailstro/test' RSpec.configure do |config| config.before(:suite) do Mailstro::Test.enable end config.after(:suite) do Mailstro::Test.disable end config.before(:each) do Mailstro::Test.clear_deliveries end end