diff options
| author | Ashish Rao <[email protected]> | 2019-09-12 11:23:10 +0530 |
|---|---|---|
| committer | Ashish Rao <[email protected]> | 2019-09-12 11:23:10 +0530 |
| commit | be49c8165cb3ef405ca46435e2c884f934d3f8e4 (patch) | |
| tree | 28e4c61844353fa7a0a0d6818c6a475a09414ec7 /test | |
| parent | 10bfb9f467b0ac2b8912ffc15690b50ef3244f09 (diff) | |
| download | faker-be49c8165cb3ef405ca46435e2c884f934d3f8e4.tar.xz faker-be49c8165cb3ef405ca46435e2c884f934d3f8e4.zip | |
add transaction description method on finance module
Diffstat (limited to 'test')
| -rw-r--r-- | test/finance.unit.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/finance.unit.js b/test/finance.unit.js index bad85884..a665e208 100644 --- a/test/finance.unit.js +++ b/test/finance.unit.js @@ -342,4 +342,12 @@ describe('finance.js', function () { assert.ok(bic.match(expr)); }); }); + + describe("transactionDescription()", function() { + it("returns a random transaction description", function() { + var transactionDescription = faker.finance.transactionDescription(); + + assert.ok(transactionDescription); + }) + }) }); |
