remove console.log; instantiate a page for jasmine tests
This commit is contained in:
parent
eb6263084e
commit
722a2a86ea
2 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
this.expandLikes = function(evt) {
|
this.expandLikes = function(evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
console.log("called again");
|
|
||||||
|
|
||||||
if(self.likesList.children().length == 0) {
|
if(self.likesList.children().length == 0) {
|
||||||
self.loadingImage.appendTo(self.likesContainer);
|
self.loadingImage.appendTo(self.likesContainer);
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@ describe("ContentUpdater", function() {
|
||||||
describe("addPostToStream", function() {
|
describe("addPostToStream", function() {
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
spec.loadFixture("aspects_index");
|
spec.loadFixture("aspects_index");
|
||||||
|
Diaspora.Page = "AspectsIndex";
|
||||||
|
Diaspora.instantiatePage();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("adds a post to the stream", function() {
|
it("adds a post to the stream", function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue