Fix all failing specs

This commit is contained in:
2015-01-21 19:18:12 +01:00
parent 9a8c364d38
commit 4462be55d1
11 changed files with 29 additions and 28 deletions
@@ -2,8 +2,8 @@
step "there is no user information stored in the local storage" do
visit '/'
page.execute_script %|Qstorage = window.localStorage|
page.evaluate_script(%|Qstorage.getItem('user_id')|).should be_blank
page.evaluate_script(%|Qstorage.getItem('auth_token')|).should be_blank
page.execute_script(%|Qstorage.removeItem('user_id')|)
page.execute_script(%|Qstorage.removeItem('auth_token')|)
end
step "I visit the user obtain token path" do