Skip to content

Node.js based forum software built for the modern web

fix: remove old utils.slugify tests

Barış Soner Uşaklı10cfdd4c5d7b
diff --git a/test/utils.js b/test/utils.js
index 715d7ab049..c91ba8c02d 100644
--- a/test/utils.js
+++ b/test/utils.js
@@ -80,13 +80,11 @@ describe('Utility Methods', function () {
});
it('should preserve case if requested', function (done) {
- assert.strictEqual(utils.slugify('UPPER CASE', true), 'UPPER-CASE');
assert.strictEqual(slugify('UPPER CASE', true), 'UPPER-CASE');
done();
});
it('should work if a number is passed in', function (done) {
- assert.strictEqual(utils.slugify(12345), '12345');
assert.strictEqual(slugify(12345), '12345');
done();
});