Skip to content

In the cucumber feature "Actions.verifyTheirScoreIs" is no checking the score #27

Description

@merunga

If you change the last step of the feature from
Then "Grace Hopper" has a score of 15
to
Then "Grace Hopper" has a score of 500000
The scenario will still pass.

To solve this I included chai.js in the test/lib, and replace this line with

var expect = require('../../lib/chai.js').expect;
expect(parseInt(value)).to.equal(parseInt(points));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions