Sha256: ef97068d675cd2f8e4fa76d50211ab43bfd9e519803d6ca48c076b2673738b49
Contents?: true
Size: 369 Bytes
Versions: 12
Compression:
Stored size: 369 Bytes
Contents
require "test_helper" class SessionMailerTest < ActionMailer::TestCase setup do @session = users(:lazaro_nixon).sessions.create! end test "signed_in_notification" do mail = SessionMailer.with(session: @session).signed_in_notification assert_equal "New sign-in to your account", mail.subject assert_equal [@session.user.email], mail.to end end
Version data entries
12 entries across 12 versions & 1 rubygems