fix tests
This commit is contained in:
parent
7601e15ab8
commit
b575d78250
|
@ -11,7 +11,7 @@
|
||||||
width: $switch-width
|
width: $switch-width
|
||||||
height: $switch-height
|
height: $switch-height
|
||||||
margin-right: 1em
|
margin-right: 1em
|
||||||
padding: 2px 3px 3px 4px
|
padding: 3px 3px 3px 4px
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
overflow: visible
|
overflow: visible
|
||||||
background-color: #E2E1E2
|
background-color: #E2E1E2
|
||||||
|
|
|
@ -20,5 +20,5 @@ test 'it renders', ->
|
||||||
@append()
|
@append()
|
||||||
|
|
||||||
ok component.$().hasClass('active'), 'component should have active class'
|
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'
|
equal component.$('.profile-repo span').text().trim(), 'A foo repo', 'repo description should be displayed'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user