Skip to content

Commit

Permalink
Merge pull request #223 from meteorhacks/undo-patch
Browse files Browse the repository at this point in the history
Undo the patch after the test so it doesn't affect other tests
  • Loading branch information
arunoda committed Mar 9, 2016
2 parents 4f1f70e + 2348598 commit 32b4ddc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/hijack/subscriptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ Tinytest.add(
this.ready();
this.ready();
});
var original = Kadira.models.pubsub._trackReady;
Kadira.models.pubsub._trackReady = function(session, sub) {
if(sub._name == pubId) {
ReadyCounts++;
Expand All @@ -191,6 +192,7 @@ Tinytest.add(
var h1 = SubscribeAndWait(client, pubId);

test.equal(ReadyCounts, 1);
Kadira.models.pubsub._trackReady = original;
CloseClient(client);
}
);
Expand Down

0 comments on commit 32b4ddc

Please sign in to comment.