Really fix the build trigger schema and add a test for it

This commit is contained in:
Joseph Schorr 2015-08-11 17:17:18 -04:00
parent a5d0569e35
commit 09bb98f161
2 changed files with 4 additions and 8 deletions

View file

@ -402,12 +402,8 @@ class ActivateBuildTrigger(RepositoryParamResource):
'description': '(Custom Only) If specified, the ref/SHA1 used to checkout a git repository.'
},
'refs': {
'type': 'array',
'description': '(SCM Only) If specified, the refs to build.'
},
'branch_name': {
'type': 'string',
'description': '(SCM Only) If specified, the branch to build.'
'type': 'object',
'description': '(SCM Only) If specified, the ref to build.'
}
},
'additionalProperties': False