From b575d7825095f5d5b7e2ab409c21b0b25abcf337 Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Tue, 7 Jul 2015 15:39:02 +0200 Subject: [PATCH] fix tests --- app/styles/app/modules/switch.sass | 2 +- tests/unit/components/hooks-list-item-test.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/styles/app/modules/switch.sass b/app/styles/app/modules/switch.sass index 22b6d73a..07079dfe 100644 --- a/app/styles/app/modules/switch.sass +++ b/app/styles/app/modules/switch.sass @@ -11,7 +11,7 @@ width: $switch-width height: $switch-height margin-right: 1em - padding: 2px 3px 3px 4px + padding: 3px 3px 3px 4px vertical-align: middle overflow: visible background-color: #E2E1E2 diff --git a/tests/unit/components/hooks-list-item-test.coffee b/tests/unit/components/hooks-list-item-test.coffee index f0ddafdc..f1818119 100644 --- a/tests/unit/components/hooks-list-item-test.coffee +++ b/tests/unit/components/hooks-list-item-test.coffee @@ -20,5 +20,5 @@ test 'it renders', -> @append() ok component.$().hasClass('active'), 'component should have active class' - ok component.$('.travis-switch').hasClass('active'), 'switch should have active class' + ok component.$('.switch--icon').hasClass('active'), 'switch should have active class' equal component.$('.profile-repo span').text().trim(), 'A foo repo', 'repo description should be displayed'