refactors manager specs

This commit is contained in:
rgarcia
2015-10-08 18:17:32 +02:00
parent b532982440
commit 2928b6ded5
2 changed files with 27 additions and 48 deletions

View File

@@ -28,6 +28,13 @@ module CommonActions
visit management_sign_in_path(login: manager.username, clave_usuario: manager.password)
end
def login_managed_user(user)
####
# CHANGE ME
# Should identify the user being managed
####
end
def confirm_email
expect(page).to have_content "A message with a confirmation link has been sent to your email address."