completely green

This commit is contained in:
2014-08-13 16:37:59 +02:00
parent d6e7c4998f
commit a675999d01
6 changed files with 11 additions and 5 deletions
@@ -1,5 +1,7 @@
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
end