Minor cleanup related to colorB -> color (#3066)

As `color` is now the canonical, it makes sense to update some of these tests to say `colorB` instead.

Ref #3012
This commit is contained in:
Paul Melnikow
2019-02-20 23:34:22 -05:00
committed by GitHub
parent 2d7be31b0c
commit 33aefcfaf8
7 changed files with 17 additions and 43 deletions

View File

@@ -21,7 +21,7 @@ t.create('Stars (repo not found)')
})
t.create('Stars (named color override)')
.get('/badges/shields.json?colorB=yellow&style=_shields_test')
.get('/badges/shields.json?color=yellow&style=_shields_test')
.expectJSONTypes(
Joi.object().keys({
name: 'stars',
@@ -31,7 +31,7 @@ t.create('Stars (named color override)')
)
t.create('Stars (hex color override)')
.get('/badges/shields.json?colorB=abcdef&style=_shields_test')
.get('/badges/shields.json?color=abcdef&style=_shields_test')
.expectJSONTypes(
Joi.object().keys({
name: 'stars',