Skip to content

Commit

Permalink
Make [wercker] no builds terminology consistent with other badges (#2957
Browse files Browse the repository at this point in the history
)

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

https://circleci.com/gh/badges/daily-tests/138
  • Loading branch information
paulmelnikow authored Feb 8, 2019
1 parent 8c478d0 commit 4d45fe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/wercker/wercker.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion services/wercker/wercker.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' })

0 comments on commit 4d45fe3

Please sign in to comment.