File tree 3 files changed +1
-18
lines changed
3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,6 @@ test('disabled', function(assert) {
25
25
this . set ( 'disabled' , true ) ;
26
26
this . render ( hbs `{{uic-sub-menu disabled=disabled}}` ) ;
27
27
assert . equal ( this . $ ( 'menuitem[disabled].uic-sub-menu' ) . length , 1 ) ;
28
- this . set ( 'disabled' , false ) ;
28
+ this . set ( 'disabled' , null ) ;
29
29
assert . equal ( this . $ ( 'menuitem[disabled].uic-sub-menu' ) . length , 0 ) ;
30
30
} ) ;
Original file line number Diff line number Diff line change @@ -20,16 +20,6 @@ test('classNames', function(assert) {
20
20
assert . equal ( component . get ( 'classNames' ) [ 1 ] , 'uic-menu-container' ) ;
21
21
} ) ;
22
22
23
- test ( 'getParentMenu() method' , function ( assert ) {
24
- assert . expect ( 1 ) ;
25
- var component = this . subject ( ) ;
26
- this . render ( ) ;
27
-
28
- component . getParentMenu ( ) ;
29
-
30
- assert . equal ( component . get ( 'classNames' ) [ 1 ] , 'uic-menu-container' ) ;
31
- } ) ;
32
-
33
23
test ( 'didInsertElement' , function ( assert ) {
34
24
assert . expect ( 2 ) ;
35
25
var component = this . subject ( ) ;
Original file line number Diff line number Diff line change @@ -35,13 +35,6 @@ test('classNames', function(assert) {
35
35
assert . equal ( component . get ( 'classNames' ) [ 1 ] , 'uic-sub-menu' ) ;
36
36
} ) ;
37
37
38
- test ( 'attributeBindings' , function ( assert ) {
39
- assert . expect ( 1 ) ;
40
- let component = this . subject ( ) ;
41
- this . render ( ) ;
42
- assert . deepEqual ( component . get ( 'attributeBindings' ) , [ 'disabled' ] ) ;
43
- } ) ;
44
-
45
38
test ( 'disabled should be false' , function ( assert ) {
46
39
assert . expect ( 1 ) ;
47
40
let component = this . subject ( ) ;
You can’t perform that action at this time.
0 commit comments