diff options
| author | Bryan Donovan <[email protected]> | 2013-01-07 12:13:55 -0800 |
|---|---|---|
| committer | Bryan Donovan <[email protected]> | 2013-01-07 12:13:55 -0800 |
| commit | 0c8412564fc2dbd47f01e86f93198be390ef4335 (patch) | |
| tree | 6d2a88cf0c96c12dd88f67bc63273030ab8e1ae3 /lib/random.js | |
| parent | d3299b466fa0c6c4e755d2ce39fb8bec6d995bfa (diff) | |
| download | faker-0c8412564fc2dbd47f01e86f93198be390ef4335.tar.xz faker-0c8412564fc2dbd47f01e86f93198be390ef4335.zip | |
100% test coverage.
Diffstat (limited to 'lib/random.js')
| -rw-r--r-- | lib/random.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/random.js b/lib/random.js index 89dbd1fd..6857240f 100644 --- a/lib/random.js +++ b/lib/random.js @@ -90,7 +90,12 @@ var random = { phone_formats: function () { return this.array_rand(definitions.phone_formats()); + }, + + domain_suffix: function () { + return this.array_rand(definitions.domain_suffix()); } + }; module.exports = random; |
