aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/company.unit.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/company.unit.js b/test/company.unit.js
index f863d83d..06292b35 100644
--- a/test/company.unit.js
+++ b/test/company.unit.js
@@ -79,22 +79,22 @@ describe("company.js", function () {
});
describe("bs()", function () {
- it("returns phrase comprising of a BS adjective, buzz, and noun", function () {
+ it("returns phrase comprising of a BS buzz, adjective, and noun", function () {
sinon.spy(faker.random, 'arrayElement');
- sinon.spy(faker.company, 'bsAdjective');
sinon.spy(faker.company, 'bsBuzz');
+ sinon.spy(faker.company, 'bsAdjective');
sinon.spy(faker.company, 'bsNoun');
var bs = faker.company.bs();
assert.ok(typeof bs === 'string');
assert.ok(faker.random.arrayElement.calledThrice);
- assert.ok(faker.company.bsAdjective.calledOnce);
assert.ok(faker.company.bsBuzz.calledOnce);
+ assert.ok(faker.company.bsAdjective.calledOnce);
assert.ok(faker.company.bsNoun.calledOnce);
- faker.random.arrayElement.restore();
- faker.company.bsAdjective.restore();
+ faker.random.arrayElement.restore();
faker.company.bsBuzz.restore();
+ faker.company.bsAdjective.restore();
faker.company.bsNoun.restore();
});
});