aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarak <[email protected]>2015-07-05 00:35:41 -0700
committerMarak <[email protected]>2015-07-05 00:35:41 -0700
commitedccd6c227773207d7e9555f2cdb466c6baf04d3 (patch)
tree7d38c13fd862d3b5d381355e845d5aaf5bef9919 /test
parentbed4ad42a757dede874298084845b5a401a9d9c1 (diff)
downloadfaker-edccd6c227773207d7e9555f2cdb466c6baf04d3.tar.xz
faker-edccd6c227773207d7e9555f2cdb466c6baf04d3.zip
[fix] [minor] Typo
Diffstat (limited to 'test')
-rw-r--r--test/name.unit.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/name.unit.js b/test/name.unit.js
index ce4936f4..bd3d4c23 100644
--- a/test/name.unit.js
+++ b/test/name.unit.js
@@ -69,14 +69,17 @@ describe("name.js", function () {
});
describe("title()", function () {
- it("returns a random title", function () {
- sinon.stub(faker.name, 'title').returns('Lead Solutions Supervisor');
+ it("returns a random title", function () {
+ sinon.stub(faker.name, 'title').returns('Lead Solutions Supervisor');
- var title = faker.name.title();
+ var title = faker.name.title();
- assert.equal(title, 'Lead Solutions Supervisor');
+ assert.equal(title, 'Lead Solutions Supervisor');
+
+ faker.name.title.restore();
+ });
+ });
- faker.name.title.restore();
describe("jobTitle()", function () {
it("returns a job title consisting of a descriptor, area, and type", function () {
sinon.spy(faker.random, 'array_element');