Skip to content

Commit

Permalink
tests(main): minor wording tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Aug 5, 2015
1 parent 593905d commit 8b9ef0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/main.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe('Retry', function () {
});
});

it('should call accept a callback on try', function (done) {
it('should accept a regular node.js-style callback on the try() method', function (done) {
tryStub.resolves('abc123');

retryInstance.try(function (err, result) {
Expand Down Expand Up @@ -332,7 +332,7 @@ describe('Retry', function () {
});
});

it('should make a new attempt after a reset', function () {
it('should make a new attempt if attempt is requested after a reset', function () {
tryStub.onFirstCall().resolves('abc123');
tryStub.resolves('xyz789');

Expand Down

0 comments on commit 8b9ef0f

Please sign in to comment.