aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarak <[email protected]>2017-10-11 23:03:30 -0400
committerGitHub <[email protected]>2017-10-11 23:03:30 -0400
commit4beccd1dc141ce589cdd1525455e97fb22c9f6a9 (patch)
tree26350f19b71d5767cc26d90bcb0b134e17002644 /test
parent29de77afe36db703f60335c40f67fd7ec00242e5 (diff)
parentd998170beaf9cbd397cab108a998d7fa78075266 (diff)
downloadfaker-4beccd1dc141ce589cdd1525455e97fb22c9f6a9.tar.xz
faker-4beccd1dc141ce589cdd1525455e97fb22c9f6a9.zip
Merge pull request #423 from uphold-forks/feature/add-finance-routing-number
Add ABA routing number generator
Diffstat (limited to 'test')
-rw-r--r--test/finance.unit.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/finance.unit.js b/test/finance.unit.js
index a879d584..b8b380ee 100644
--- a/test/finance.unit.js
+++ b/test/finance.unit.js
@@ -57,6 +57,17 @@ describe('finance.js', function () {
});
+ describe('routingNumber()', function () {
+
+ it("should return a routing number", function () {
+
+ var actual = faker.finance.routingNumber();
+
+ assert.ok(actual);
+
+ });
+
+ });
describe('mask( length, parens, ellipsis )', function () {
it("should set a default length", function () {