aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/name.unit.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/name.unit.js b/test/name.unit.js
index 32bdef48..b34cbd1b 100644
--- a/test/name.unit.js
+++ b/test/name.unit.js
@@ -60,5 +60,11 @@ describe("name.js", function () {
faker.random.number.restore();
});
+
+ it("needs to work with specific locales and respect the fallbacks", function () {
+ faker.locale = 'en_US';
+ // this will throw if this is broken
+ var name = faker.name.findName();
+ });
});
});