Fixed blank screen on /#ticket/zoom/1 and not authenticated users.

This commit is contained in:
Martin Edenhofer 2016-05-27 14:08:39 +02:00
parent 1dd844aa6e
commit e71b4f92b1
2 changed files with 21 additions and 1 deletions

View file

@ -87,7 +87,7 @@ class App.Auth
App.Event.trigger('auth')
App.Event.trigger('auth:logout')
App.Event.trigger('ui:rerender')
App.TaskManager.tasksInitial()
return false
# clear local store

View file

@ -33,4 +33,24 @@ class AABBasicUrlsTest < TestCase
)
end
def test_ticket
@browser = browser_instance
location(
url: "#{browser_url}/#ticket/zoom/1",
)
location_check(
url: "#{browser_url}/#login",
)
end
def test_not_existing
@browser = browser_instance
location(
url: "#{browser_url}/#not_existing",
)
location_check(
url: "#{browser_url}/#not_existing",
)
end
end