Fix all failing specs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user