window.preloads is always set to at least a empty json object
This commit is contained in:
parent
379df76118
commit
7a256d7810
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ describe("app.views.SmallFrame", function(){
|
|||
beforeEach(function(){
|
||||
app.page = { editMode : false }
|
||||
app.router = new app.Router()
|
||||
window.preloads = {}
|
||||
spyOn(app.router, "navigate")
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue