I forgot to commit tests for 455e758

This commit is contained in:
Piotr Sarnacki 2015-03-23 11:59:20 +01:00
parent 455e758653
commit 93918168f5

View File

@ -0,0 +1,13 @@
`import Ember from 'ember'`
`import format from 'travis/utils/status-image-formats'`
`import config from 'travis/config/environment'`
module 'Status image formats'
test 'it generates CCTray url with a slug', ->
url = format('CCTray', 'travis-ci/travis-web')
equal url, '#/repos/travis-ci/travis-web/cc.xml'
test 'it generates CCTray url with a slug and a branch', ->
url = format('CCTray', 'travis-ci/travis-web', 'development')
equal url, '#/repos/travis-ci/travis-web/cc.xml?branch=development'