Sha256: c69c14cc86737bae77eac9fdfe8725479a35f2dad797c8581cd8ed71e8f990db
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 Bytes
Contents
require "application_system_test_case" class Identity::EmailsTest < ApplicationSystemTestCase setup do @<%= singular_table_name %> = sign_in_as(<%= table_name %>(:lazaro_nixon)) end test "updating the email" do click_on "Change email address" fill_in "New email", with: "new_email@hey.com" click_on "Save changes" assert_text "Your email has been changed" end test "sending a verification email" do @<%= singular_table_name %>.update! verified: false click_on "Change email address" click_on "Re-send verification email" assert_text "We sent a verification email to your email address" end end
Version data entries
2 entries across 2 versions & 1 rubygems