aboutsummaryrefslogtreecommitdiff
path: root/test/system.unit.js
diff options
context:
space:
mode:
authorMarak <[email protected]>2021-10-19 14:53:16 -0400
committerGitHub <[email protected]>2021-10-19 14:53:16 -0400
commit29234378807c4141588861f69421bf20b5ac635e (patch)
treed44314518a7c801a546c49334c86fbd357b6142b /test/system.unit.js
parent282aae9e913861cd12e41e3a569f462143bf8ee5 (diff)
parent6669bcd6e3b8008fac786d54c5ccfc4fefa74769 (diff)
downloadfaker-6.0.0-alpha.0.tar.xz
faker-6.0.0-alpha.0.zip
Merge pull request #1217 from jsoref/spelling6.0.0-alpha.0
Spelling
Diffstat (limited to 'test/system.unit.js')
-rw-r--r--test/system.unit.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/system.unit.js b/test/system.unit.js
index 004460d2..7f45a6f9 100644
--- a/test/system.unit.js
+++ b/test/system.unit.js
@@ -26,20 +26,20 @@ describe("system.js", function () {
});
describe("fileName()", function () {
- it("returns filenames without system path seperators", function () {
+ it("returns filenames without system path separators", function () {
sinon.stub(faker.random, 'words').returns('24/7');
var fileName = faker.system.fileName();
- assert.strictEqual(fileName.indexOf('/'), -1, 'generated fileNames should not have path seperators');
+ assert.strictEqual(fileName.indexOf('/'), -1, 'generated fileNames should not have path separators');
faker.random.words.restore();
});
});
describe("commonFileName()", function () {
- it("returns filenames without system path seperators", function () {
+ it("returns filenames without system path separators", function () {
sinon.stub(faker.random, 'words').returns('24/7');
var fileName = faker.system.commonFileName();
- assert.strictEqual(fileName.indexOf('/'), -1, 'generated commonFileNames should not have path seperators');
+ assert.strictEqual(fileName.indexOf('/'), -1, 'generated commonFileNames should not have path separators');
faker.random.words.restore();
});