Skip to content

Commit

Permalink
Add verbs to test spec for almost junctions
Browse files Browse the repository at this point in the history
  • Loading branch information
kymckay committed Feb 3, 2020
1 parent de191d6 commit 210d4aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/spec/validations/almost_junction.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ describe('iD.validations.almost_junction', function () {
expect(issues).to.have.lengthOf(0);
});

it('horizontal and vertical road, closer than threshold', function() {
it('flags horizontal and vertical road closer than threshold', function() {
horizontalVertialCloserThanThd();
var issues = validate();
expect(issues).to.have.lengthOf(1);
Expand Down Expand Up @@ -267,7 +267,7 @@ describe('iD.validations.almost_junction', function () {
expect(issues).to.have.lengthOf(0);
});

it('horizontal and tilted road, closer than threshold', function() {
it('flags horizontal and tilted road closer than threshold', function() {
horizontalTiltedCloserThanThd();
var issues = validate();
expect(issues).to.have.lengthOf(1);
Expand Down Expand Up @@ -297,19 +297,19 @@ describe('iD.validations.almost_junction', function () {
expect(issues).to.have.lengthOf(0);
});

it('horizontal and vertical road, further than threshold', function() {
it('ignores horizontal and vertical road further than threshold', function() {
horizontalVertialFurtherThanThd();
var issues = validate();
expect(issues).to.have.lengthOf(0);
});

it('horizontal and vertical road, closer than threshold but with noexit tag', function() {
it('ignores horizontal and vertical road closer than threshold, but with noexit tag', function() {
horizontalVertialWithNoExit();
var issues = validate();
expect(issues).to.have.lengthOf(0);
});

it('two horizontal roads, closer than threshold', function() {
it('ignores two horizontal roads closer than threshold', function() {
twoHorizontalCloserThanThd();
var issues = validate();
expect(issues).to.have.lengthOf(0);
Expand Down

0 comments on commit 210d4aa

Please sign in to comment.