Fix order-dependence bug in single_post_interactions_spec.js

This was only passing when run after a loginAs from another spec.
This commit is contained in:
Sage Ross 2022-01-02 13:29:00 -08:00 committed by Benjamin Neff
parent f85135f726
commit f4234fa3a0
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -1,5 +1,6 @@
describe("app.views.SinglePostInteractions", function() {
beforeEach(function() {
loginAs({name: "alice", avatar : {small : "http://avatar.com/photo.jpg"}});
this.post = factory.post();
this.view = new app.views.SinglePostInteractions({model: this.post});
});