aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJosh Soref <[email protected]>2021-08-17 23:07:49 -0400
committerJosh Soref <[email protected]>2021-08-18 11:20:29 -0400
commit222b58cd38667ecdf48712a51dc23db845e513a4 (patch)
tree4634844376efbff511ef9e7807bc683fc10c5b08 /test
parentc14389f7ac512ba51c289c862c1e686b3fc4c9b7 (diff)
downloadfaker-222b58cd38667ecdf48712a51dc23db845e513a4.tar.xz
faker-222b58cd38667ecdf48712a51dc23db845e513a4.zip
spelling: separators
Signed-off-by: Josh Soref <[email protected]>
Diffstat (limited to 'test')
-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();
});