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

Commit

Permalink
♻️ Update test language chain to be more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
shuse2 committed Feb 13, 2018
1 parent b2d0ef6 commit 8dd5289
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Assertion.addProperty('hexString', function handleAssert() {
this.assert(
expected === actual,
'expected #{this} to be a hexString',
'expected #{this} to not be a hexString',
'expected #{this} not to be a hexString',
);
});

Expand All @@ -44,7 +44,7 @@ Assertion.addProperty('integer', function handleAssert() {
this.assert(
actual === expected,
'expected #{this} to be an integer',
'expected #{this} to not be an integer',
'expected #{this} not to be an integer',
);
});
/* eslint-enable no-underscore-dangle */
Expand Down
2 changes: 1 addition & 1 deletion test/transactions/4_registerMultisignatureAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ describe('#registerMultisignatureAccount transaction', () => {
it('should have the asset with the multisignature with the min, lifetime and keysgroup', () => {
return registerMultisignatureTransaction.should.have.nested
.property('asset.multisignature')
.with.keys('min', 'lifetime', 'keysgroup');
.with.all.keys('min', 'lifetime', 'keysgroup');
});

it('should not have the signature', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/transactions/5_createDapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ describe('#createDapp transaction', () => {
it('should have the asset with dapp with properties category, description, name, tags, type, link, icon', () => {
return createDappTransaction.should.have.nested
.property('asset.dapp')
.with.keys(
.with.all.keys(
'category',
'description',
'name',
Expand Down
2 changes: 1 addition & 1 deletion test/transactions/7_transferOutOfDapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('#transferOutOfDapp', () => {
it('should have the asset with the out transfer with dappId and transactionId', () => {
return transferOutOfDappTransaction.should.have.nested
.property('asset.outTransfer')
.with.keys('dappId', 'transactionId');
.with.all.keys('dappId', 'transactionId');
});

it('should not have the signature', () => {
Expand Down

0 comments on commit 8dd5289

Please sign in to comment.