Added Registrar feature tests

This commit is contained in:
Priit Tark 2015-04-13 16:54:00 +03:00
parent bcb283e2f1
commit 45bed63cad
12 changed files with 218 additions and 25 deletions

View file

@ -109,5 +109,10 @@ feature 'Sessions', type: :feature do
page.should have_text('Check your phone for confirmation code')
page.should have_text('Welcome!')
end
it 'should log in successfully using helper method', js: true do
registrar_sign_in
page.should have_text('Welcome!')
end
end
end