diff --git a/README.md b/README.md index d68f3ed..7736606 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# joola.io.sdk [![Build Status][3]][4] [![Coverage Status][1]][2] [![Gitter chat](https://badges.gitter.im/joola/joola.io.png)](https://gitter.im/joola/joola.io) +# joola.io.sdk [![Build Status][3]][4] [![Gitter chat](https://badges.gitter.im/joola/joola.io.png)](https://gitter.im/joola/joola.io) | **[API Docs] [apidocs]** | **[joola.io Docs] [techdocs]** | **[Issues] [issues]** | **[Contributing] [contributing]** | **[About] [about]** | |-------------------------------------|-------------------------------|-------------------------------------|---------------------------------------------|-------------------------------------| diff --git a/test/unit/2_common/index.spec.js b/test/unit/2_common/index.spec.js index 8aa0f22..0a15cae 100644 --- a/test/unit/2_common/index.spec.js +++ b/test/unit/2_common/index.spec.js @@ -5,7 +5,7 @@ describe("common", function () { b: 2 }; - joola.common.stringify(obj, function (err, str) { + joolaio.common.stringify(obj, function (err, str) { expect(str).to.equal(JSON.stringify(obj)); done(); }); @@ -18,7 +18,7 @@ describe("common", function () { }; var str = JSON.stringify(obj); - joola.common.parse(str, function (err, _obj) { + joolaio.common.parse(str, function (err, _obj) { expect(str).to.equal(JSON.stringify(_obj)); done(); }); @@ -26,13 +26,13 @@ describe("common", function () { it("should hash strings correctly", function () { var expected = '26207976637e23e1bed51683c33a6d73'; - var actual = joola.common.hash('thisisatestforhash'); + var actual = joolaio.common.hash('thisisatestforhash'); expect(actual).to.equal(expected); }); it("should generate uuid - 9 chars long", function () { var expected = 9; - var actual = joola.common.uuid().length; + var actual = joolaio.common.uuid().length; expect(actual).to.equal(expected); }); @@ -40,7 +40,7 @@ describe("common", function () { var ids = []; for (var i = 0; i < 3200; i++) { - var uuid = joola.common.uuid(); + var uuid = joolaio.common.uuid(); if (ids.indexOf(uuid) > -1) { return done(new Error('Found duplicate uuid [' + uuid + ']')); }