Skip to content
Permalink
Browse files

Revert "Tests: added assertion if instance.getDoneTasksCount() return…

…s _doneTasks."

This reverts commit 2e7b933.
  • Loading branch information
mlewand committed Feb 4, 2015
1 parent a191bee commit 2f235aa840dc7234cc9011e2a5385583d150ca5b
Showing with 0 additions and 2 deletions.
  1. +0 −2 tests/plugins/notificationaggregator/aggregator.js
@@ -248,11 +248,9 @@
instance.notification = new NotificationMock();
instance.fire = function() {
assert.areSame( 0, instance._reset.callCount, 'instance._reset should not be called before firing finished event' );
assert.areSame( 1, instance.getDoneTasksCount(), 'instance.getDoneTasksCount() should returns number of done tasks' );
};
instance._reset = sinon.spy();

instance._doneTasks = 1;
instance._finish();

assert.areSame( 1, instance._reset.callCount, 'instance._reset call count' );

0 comments on commit 2f235aa

Please sign in to comment.
You can’t perform that action at this time.