Skip to content

Commit

Permalink
Replaced true/false assertions with equal(true|false), per review.
Browse files Browse the repository at this point in the history
  • Loading branch information
jussi-kalliokoski committed Dec 8, 2014
1 parent 22d491d commit 4a6d367
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions test/CarouselSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ describe("Carousel", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -426,7 +426,7 @@ describe("Carousel", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -440,7 +440,7 @@ describe("Carousel", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -454,7 +454,7 @@ describe("Carousel", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -468,7 +468,7 @@ describe("Carousel", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -490,7 +490,7 @@ describe("Carousel", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});
});
Expand Down
8 changes: 4 additions & 4 deletions test/ContainerSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ describe("Container", function () {
});

it("should be started", function () {
expect(container.startAutoRotate.called).to.be.ok();
expect(container.startAutoRotate.called).to.equal(true);
});
});

Expand All @@ -292,7 +292,7 @@ describe("Container", function () {
});

it("should be stopped", function () {
expect(container.stopAutoRotate.called).to.be.ok();
expect(container.stopAutoRotate.called).to.equal(true);
});
});

Expand All @@ -303,7 +303,7 @@ describe("Container", function () {
});

it("should be started", function () {
expect(container.startAutoRotate.called).to.be.ok();
expect(container.startAutoRotate.called).to.equal(true);
});
});

Expand All @@ -314,7 +314,7 @@ describe("Container", function () {
});

it("should be stopped", function () {
expect(container.stopAutoRotate.called).to.be.ok();
expect(container.stopAutoRotate.called).to.equal(true);
});
});

Expand Down
12 changes: 6 additions & 6 deletions test/FaderSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ describe("Fader", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -334,7 +334,7 @@ describe("Fader", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -348,7 +348,7 @@ describe("Fader", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -362,7 +362,7 @@ describe("Fader", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -376,7 +376,7 @@ describe("Fader", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});

Expand All @@ -398,7 +398,7 @@ describe("Fader", function () {
});

it("should not do anything", function () {
expect(onSwiped.called).to.not.be.ok();
expect(onSwiped.called).to.equal(false);
});
});
});
Expand Down

0 comments on commit 4a6d367

Please sign in to comment.