diff options
| author | ashmothership <[email protected]> | 2016-03-20 01:43:26 +0000 |
|---|---|---|
| committer | ashmothership <[email protected]> | 2016-03-20 01:43:26 +0000 |
| commit | b41d9a393703d84ff7e0588036ba73cc49f06232 (patch) | |
| tree | 3babf5b85064296e60ee0d0332c166e2951e51aa /test | |
| parent | 1238c8b65e15972f9746863b8b3b5a6161b34770 (diff) | |
| parent | eef113c2cec2a83116e31d36473ef2b393058a1f (diff) | |
| download | faker-b41d9a393703d84ff7e0588036ba73cc49f06232.tar.xz faker-b41d9a393703d84ff7e0588036ba73cc49f06232.zip | |
Merge remote-tracking branch 'Marak/master'
Diffstat (limited to 'test')
| -rw-r--r-- | test/finance.unit.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/finance.unit.js b/test/finance.unit.js index ceb15244..2c5442d8 100644 --- a/test/finance.unit.js +++ b/test/finance.unit.js @@ -202,4 +202,14 @@ describe('finance.js', function () { assert.ok(currencyCode.match(/[A-Z]{3}/)); }); }) + + /* + describe("bitcoinAddress()", function(){ + it("returns a random bitcoin address", function(){ + var bitcoinAddress = faker.finance.bitcoinAddress(); + + assert.ok(bitcoinAddress.match(/^[A-Z0-9.]{27,34}$/)); + }); + }); + */ });
\ No newline at end of file |
