Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Put lengthOf instead of length
Browse files Browse the repository at this point in the history
  • Loading branch information
MBrandone committed Feb 23, 2017
1 parent 4547b78 commit 73054c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions live/tests/integration/components/qroc-solution-panel-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('Integration | Component | qroc solution panel', function () {
const answerBlock = this.$(ANSWER_BLOCK);
const answerInput = this.$(ANSWER_INPUT);
// then
expect(answerBlock).to.have.length(1);
expect(answerBlock).to.have.lengthOf(1);
expect(answerInput.css('font-weight')).to.be.equal('400');
expect(answerInput.css('text-decoration')).to.be.equal('line-through');

Expand All @@ -81,7 +81,7 @@ describe('Integration | Component | qroc solution panel', function () {
const blockSolution = this.$(SOLUTION_BLOCK);
const blockSolutionText = this.$(SOLUTION_DISPLAY);
// then
expect(blockSolution).to.have.length(1);
expect(blockSolution).to.have.lengthOf(1);
expect(blockSolutionText.css('color')).to.be.equal(RIGHT_ANSWER_GREEN);
expect(blockSolutionText.css('font-weight')).to.be.equal('bold');
});
Expand All @@ -102,7 +102,7 @@ describe('Integration | Component | qroc solution panel', function () {
const answerBlock = this.$(ANSWER_BLOCK);
const answerInput = this.$(ANSWER_INPUT);
// then
expect(answerBlock).to.have.length(1);
expect(answerBlock).to.have.lengthOf(1);
expect(answerInput.css('font-style')).to.be.equal('italic');
expect(answerInput.css('color')).to.be.equal(NO_ANSWER_GREY);
});
Expand Down

0 comments on commit 73054c3

Please sign in to comment.