From f8390b8f82d7ad793c4f357bfbc37f24c4d9b1df Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 30 Apr 2015 13:04:22 +0200 Subject: [PATCH] Fix tests --- app/views/repo.coffee | 2 +- tests/unit/components/running-jobs-item-test.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/repo.coffee b/app/views/repo.coffee index 01815ca1..90a3db2c 100644 --- a/app/views/repo.coffee +++ b/app/views/repo.coffee @@ -4,7 +4,7 @@ `import config from 'travis/config/environment'` `import Polling from 'travis/mixins/polling'` -View = BasicView.extend +View = BasicView.extend Polling, reposBinding: 'controllers.repos' repoBinding: 'controller.repo' buildBinding: 'controller.build' diff --git a/tests/unit/components/running-jobs-item-test.coffee b/tests/unit/components/running-jobs-item-test.coffee index 6a10536f..69a8afd9 100644 --- a/tests/unit/components/running-jobs-item-test.coffee +++ b/tests/unit/components/running-jobs-item-test.coffee @@ -2,7 +2,7 @@ moduleForComponent 'running-jobs-item', { # specify the other units that are required for this test - # needs: ['component:foo', 'helper:bar'] + needs: ['mixin:polling', 'service:polling'] } test 'it renders', (assert) ->