User specs in the green

This commit is contained in:
2015-09-21 15:22:43 +02:00
parent cb744943bd
commit 2c3705790c
27 changed files with 112 additions and 30 deletions
@@ -1,6 +1,6 @@
step "there is no user information stored in the local storage" do
user_visit '/'
visit empty_page_path
page.execute_script %|Qstorage = window.localStorage|
page.execute_script(%|Qstorage.removeItem('user_id')|)
page.execute_script(%|Qstorage.removeItem('auth_token')|)
@@ -27,7 +27,7 @@ step "there is a instagram user" do
end
step "the user is redirected to the sign in page" do
ember_route_should_be '/sign_in'
when_ember_is_ready { ember_route_should_be '/sign-in' }
end
step "I am signed in as a user" do