@@ -197,7 +197,7 @@ describe('tooltip', function() {
197
197
expect ( elmBody . children ( ) . length ) . toBe ( 1 ) ;
198
198
} ) ) ;
199
199
200
- it ( 'should close the tooltip when its trigger element is destroyed' , inject ( function ( ) {
200
+ it ( 'should close the tooltip when its trigger element is destroyed' , inject ( function ( ) {
201
201
trigger ( elm , 'mouseenter' ) ;
202
202
expect ( tooltipScope . isOpen ) . toBe ( true ) ;
203
203
@@ -332,7 +332,7 @@ describe('tooltip', function() {
332
332
scope . $digest ( ) ;
333
333
} ) ) ;
334
334
335
- it ( 'should show and hide with the controller value' , function ( ) {
335
+ it ( 'should show and hide with the controller value' , function ( ) {
336
336
expect ( tooltipScope . isOpen ) . toBe ( false ) ;
337
337
elmScope . isOpen = true ;
338
338
elmScope . $digest ( ) ;
@@ -342,15 +342,15 @@ describe('tooltip', function() {
342
342
expect ( tooltipScope . isOpen ) . toBe ( false ) ;
343
343
} ) ;
344
344
345
- it ( 'should update the controller value' , function ( ) {
345
+ it ( 'should update the controller value' , function ( ) {
346
346
trigger ( elm , 'mouseenter' ) ;
347
347
expect ( elmScope . isOpen ) . toBe ( true ) ;
348
348
trigger ( elm , 'mouseleave' ) ;
349
349
expect ( elmScope . isOpen ) . toBe ( false ) ;
350
350
} ) ;
351
351
} ) ;
352
352
353
- describe ( 'with a trigger attribute' , function ( ) {
353
+ describe ( 'with a trigger attribute' , function ( ) {
354
354
var scope , elmBody , elm , elmScope ;
355
355
356
356
beforeEach ( inject ( function ( $rootScope ) {
@@ -419,7 +419,7 @@ describe('tooltip', function() {
419
419
expect ( tooltipScope2 . isOpen ) . toBeTruthy ( ) ;
420
420
} ) ) ;
421
421
422
- it ( 'should accept multiple triggers based on the map for mapped triggers' , inject ( function ( $compile ) {
422
+ it ( 'should accept multiple triggers based on the map for mapped triggers' , inject ( function ( $compile ) {
423
423
elmBody = angular . element (
424
424
'<div><input tooltip="Hello!" tooltip-trigger="focus fakeTriggerAttr" /></div>'
425
425
) ;
@@ -440,7 +440,7 @@ describe('tooltip', function() {
440
440
expect ( tooltipScope . isOpen ) . toBeFalsy ( ) ;
441
441
} ) ) ;
442
442
443
- it ( 'should not show when trigger is set to "none"' , inject ( function ( $compile ) {
443
+ it ( 'should not show when trigger is set to "none"' , inject ( function ( $compile ) {
444
444
elmBody = angular . element (
445
445
'<div><input tooltip="Hello!" tooltip-trigger="none" /></div>'
446
446
) ;
0 commit comments