spec/integration/rails/action_mailer_spec.rb in loga-2.3.0 vs spec/integration/rails/action_mailer_spec.rb in loga-2.3.1
- old
+ new
@@ -42,10 +42,10 @@
end
it 'has the proper payload for message delivery' do
FakeMailer.send_email
- message_pattern = /^FakeMailer: Sent mail to user@example.com in \(*/
+ message_pattern = /^FakeMailer: Sent mail \(*/
expect(last_log_entry['short_message']).to match(message_pattern)
end
it 'has the additional key "_mailer"' do
FakeMailer.send_email