Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Fix changed method name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Apr 18, 2017
1 parent a89f7a6 commit b177e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/components/delegates/delegates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ describe('delegates component controller', () => {
});
});

describe('clearVotes()', () => {
describe('setPendingVotes()', () => {
it('clears this.voteList and this.unvoteList', () => {
controller.unvoteList = controller.delegates.slice(10, 13);
expect(controller.voteList.length).to.not.equal(0);
expect(controller.unvoteList.length).to.not.equal(0);

controller.clearVotes();
controller.setPendingVotes();

expect(controller.voteList.length).to.equal(0);
expect(controller.unvoteList.length).to.equal(0);
Expand Down

0 comments on commit b177e16

Please sign in to comment.