lib/generators/authentication/templates/test_unit/system/emails_test.rb.tt in authentication-zero-2.2.2 vs lib/generators/authentication/templates/test_unit/system/emails_test.rb.tt in authentication-zero-2.2.3
- old
+ new
@@ -4,11 +4,11 @@
setup do
@<%= singular_table_name %> = sign_in_as(<%= table_name %>(:lazaro_nixon))
end
test "updating the email" do
- click_on "Change email"
+ click_on "Change email address"
fill_in "Current password", with: "secret123"
fill_in "New email", with: "new_email@hey.com"
click_on "Save changes"
@@ -16,10 +16,10 @@
end
test "sending a verification email" do
@<%= singular_table_name %>.update! verified: false
- click_on "Change email"
+ click_on "Change email address"
click_on "Re-send verification email"
assert_text "We sent a verification email to your email address"
end