Sha256: 5df9fa71ffbfc190a5427e5cb45cd90a631241ed88ec52d98b5adba937f06500
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'ditty/emails/forgot_password' require 'mail' describe ::Ditty::Emails::ForgotPassword do let(:mail) do mail = Mail.new allow(mail).to receive(:deliver!) mail end context '.new' do it 'defaults to base options' do expect(subject.options).to include subject: 'Request to reset password', from: 'no-reply@ditty.io', view: :forgot_password end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.9.1 | spec/ditty/emails/forgot_password_spec.rb |