fixes specs for exact link texts

This commit is contained in:
rgarcia
2015-09-03 13:17:26 +02:00
parent efecc697db
commit 28fd82c06e
6 changed files with 14 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ feature 'Verify email' do
within("#verified_user_#{verified_user.id}_email") do
expect(page).to have_content 'roc*@example.com'
click_button "Send"
click_button "Send code"
end
expect(page).to have_content 'We have send you a confirmation email to your email account: rock@example.com'
@@ -58,7 +58,7 @@ feature 'Verify email' do
visit verified_user_path
verified_user.destroy
click_button "Send"
click_button "Send code"
expect(page).to have_content "There was a problem sending you an email to your account"
end