Fix style violations, per automated code review
This commit is contained in:
parent
37d440f91e
commit
692f5fdafb
6 changed files with 14 additions and 14 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
});
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ describe("app.views.Comment", function(){
|
|||
|
||||
describe("canRemove", function(){
|
||||
beforeEach(function() {
|
||||
loginAs({name:'alice'});
|
||||
loginAs({name: "alice"});
|
||||
});
|
||||
|
||||
context("is truthy", function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue