aboutsummaryrefslogtreecommitdiff
path: root/lib/random.js
diff options
context:
space:
mode:
authorBryan Donovan <[email protected]>2013-01-07 11:26:53 -0800
committerBryan Donovan <[email protected]>2013-01-07 11:26:53 -0800
commitd3299b466fa0c6c4e755d2ce39fb8bec6d995bfa (patch)
tree4de40c75a006848ac9aa6a8862189cd297c6f5a6 /lib/random.js
parentdd3866a74184f4236a06915b3cafa4b4527d2476 (diff)
downloadfaker-d3299b466fa0c6c4e755d2ce39fb8bec6d995bfa.tar.xz
faker-d3299b466fa0c6c4e755d2ce39fb8bec6d995bfa.zip
phone number tests
Diffstat (limited to 'lib/random.js')
-rw-r--r--lib/random.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/random.js b/lib/random.js
index 5717a20a..89dbd1fd 100644
--- a/lib/random.js
+++ b/lib/random.js
@@ -86,6 +86,10 @@ var random = {
bs_noun: function () {
return this.array_rand(definitions.bs_noun());
+ },
+
+ phone_formats: function () {
+ return this.array_rand(definitions.phone_formats());
}
};