Sha256: 91a099299e261fc6de4c9f220ef37db941e73389252d483cc66bab017fce0d1d
Contents?: true
Size: 648 Bytes
Versions: 4
Compression:
Stored size: 648 Bytes
Contents
require "application_system_test_case" class Identity::EmailsTest < ApplicationSystemTestCase setup do @user = sign_in_as(users(:lazaro_nixon)) end test "updating the email" do click_on "Change email address" fill_in "New email", with: "new_email@hey.com" fill_in "Password challenge", with: "Secret1*3*5*" click_on "Save changes" assert_text "Your email has been changed" end test "sending a verification email" do @user.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
4 entries across 4 versions & 1 rubygems