User specs in the green
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user