This commit is contained in:
Justine Arreche 2014-12-11 19:34:56 +01:00
parent 2d5643f392
commit 860977347f

View File

@ -29,6 +29,7 @@ require 'travis/model'
# TODO add eventType to the api for api build requests
eventType: (->
# if @get('pullRequest') then 'pull_request' else 'push'
'push'
).property('pull_request')
isPullRequest: (->