Make [wercker] no builds terminology consistent with other badges (#2957)

This makes the "no builds" state pass `isBuildStatus`, which is what fixes the failing tests:

https://circleci.com/gh/badges/daily-tests/138
This commit is contained in:
Paul Melnikow
2019-02-08 00:52:20 -05:00
committed by GitHub
parent 8c478d0e0a
commit 4d45fe3ea0
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ module.exports = class Wercker extends BaseJsonService {
})
if (json.length === 0) {
return this.constructor.render({
result: 'no builds',
result: 'not built',
})
}
const { result } = json[0]

View File

@@ -58,4 +58,4 @@ t.create('CI status by ID (no runs yet)')
.get('/runs?applicationId=559e33c8e982fc615500b357&limit=1')
.reply(200, [])
)
.expectJSON({ name: 'build', value: 'no builds' })
.expectJSON({ name: 'build', value: 'not built' })