Skip to content

Commit

Permalink
Overwrite object on tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcaricio committed May 17, 2011
1 parent 0f34613 commit e608082
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/specs/bigpipe-spec.js
Expand Up @@ -65,6 +65,8 @@ describe("The BigPipe", function() {
this.cssCallback = jasmine.createSpy();
this.container.bind("loadCSS", this.cssCallback);

$.fn.Pagelet = jasmine.createSpy();

$(this.container).BigPipe({pagelets:[pagelet]});
});

Expand Down Expand Up @@ -139,6 +141,8 @@ describe("The BigPipe", function() {
this.cssCallback = jasmine.createSpy();
this.container.bind("loadCSS", this.cssCallback);

$.fn.Pagelet = jasmine.createSpy();

$(this.container).BigPipe({pagelets:[pagelet, pagelet]});
});

Expand Down

0 comments on commit e608082

Please sign in to comment.