diff options
| author | Marak <[email protected]> | 2020-08-24 13:04:38 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-24 13:04:38 -0500 |
| commit | 80c847ec8cb64e457a4faefa7ac619afaa284b23 (patch) | |
| tree | 0aa3839ea79a6a9fc0e292566cdce4c56158ea66 /test | |
| parent | 2dabd6081ac15c4a64cecd656d26791a7759a577 (diff) | |
| parent | be49c8165cb3ef405ca46435e2c884f934d3f8e4 (diff) | |
| download | faker-80c847ec8cb64e457a4faefa7ac619afaa284b23.tar.xz faker-80c847ec8cb64e457a4faefa7ac619afaa284b23.zip | |
Merge pull request #824 from ashishra0/add-transaction-description
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 7b7bca3c..a5a2c354 100644 --- a/test/finance.unit.js +++ b/test/finance.unit.js @@ -361,4 +361,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); + }) + }) }); |
