aboutsummaryrefslogtreecommitdiff
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
parentc14389f7ac512ba51c289c862c1e686b3fc4c9b7 (diff)
downloadfaker-222b58cd38667ecdf48712a51dc23db845e513a4.tar.xz
faker-222b58cd38667ecdf48712a51dc23db845e513a4.zip
spelling: separators
Signed-off-by: Josh Soref <[email protected]>
-rw-r--r--CHANGELOG.md2
-rw-r--r--test/system.unit.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b789afc2..c90bd6d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,7 +32,7 @@ http://github.com/marak/faker.js
- Fix amount and price argument dec for case = 0
- Default shuffle value
- Fix dec for amount in finance
-- Don't allow path seperators in generated filenames in system
+- Don't allow path separators in generated filenames in system
- Add lorem.slug to functional test
- Don't throw in helpers.shuffle on empty array
- Adds precision value to faker.random.number call
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();
});