aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAshish Rao <[email protected]>2019-09-12 11:23:10 +0530
committerAshish Rao <[email protected]>2019-09-12 11:23:10 +0530
commitbe49c8165cb3ef405ca46435e2c884f934d3f8e4 (patch)
tree28e4c61844353fa7a0a0d6818c6a475a09414ec7 /test
parent10bfb9f467b0ac2b8912ffc15690b50ef3244f09 (diff)
downloadfaker-be49c8165cb3ef405ca46435e2c884f934d3f8e4.tar.xz
faker-be49c8165cb3ef405ca46435e2c884f934d3f8e4.zip
add transaction description method on finance module
Diffstat (limited to 'test')
-rw-r--r--test/finance.unit.js8
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);
+ })
+ })
});