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:
Sage Ross 2022-01-02 13:14:32 -08:00 committed by Benjamin Neff
parent 0831d4e294
commit f85135f726
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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})});