Make shortcuts_spec.js more order-independent
This spec was failing whenever router_spec.js was not run prior it it running.
This commit is contained in:
parent
0831d4e294
commit
f85135f726
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
describe("app.views.StreamShortcuts", function () {
|
||||
|
||||
beforeEach(function() {
|
||||
// This puts `app.page` into the proper state.
|
||||
new app.Router().stream();
|
||||
|
||||
this.post1 = factory.post({author : factory.author({name : "Rebecca Black", id : 1492})});
|
||||
this.post2 = factory.post({author : factory.author({name : "John Stamos", id : 1987})});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue