Fix style violations, per automated code review

This commit is contained in:
Sage Ross 2022-01-15 18:06:12 -08:00 committed by Benjamin Neff
parent 37d440f91e
commit 692f5fdafb
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
6 changed files with 14 additions and 14 deletions

View file

@ -135,7 +135,7 @@ describe("app.models.Post.Interactions", function(){
expect(app.stream.addNow).toHaveBeenCalledWith({id: 1});
});
new app.models.Stream(_, { basePath: "/aspects/all" });
app.stream = new app.models.Stream(_, {basePath: "/aspects/all"});
});
it("doesn't add the reshare to any other stream", function() {
@ -150,7 +150,7 @@ describe("app.models.Post.Interactions", function(){
expect(app.stream.addNow).not.toHaveBeenCalled();
});
new app.models.Stream(_, { basePath: "/aspects/all" });
app.stream = new app.models.Stream(_, {basePath: "/aspects/all"});
});
it("sets the participation flag for the post", function() {

View file

@ -6,7 +6,7 @@ describe('app.Router', function () {
describe('followed_tags', function() {
beforeEach(function() {
loginAs({name: 'alice'});
loginAs({name: "alice"});
factory.preloads({tagFollowings: []});
spec.loadFixture("aspects_index");
});

View file

@ -48,7 +48,7 @@ describe("app.views.Comment", function(){
describe("canRemove", function(){
beforeEach(function() {
loginAs({name:'alice'});
loginAs({name: "alice"});
});
context("is truthy", function(){