@@ -334,34 +334,34 @@ describe('ngClass', function() {
334
334
expect ( e2 ) . not . toHaveClass ( 'four' ) ;
335
335
expect ( e2 ) . toHaveClass ( 'five' ) ;
336
336
337
- $rootScope . $apply ( 'two = "too "' ) ;
337
+ $rootScope . $apply ( 'two = "another-two "' ) ;
338
338
339
339
expect ( e1 ) . toHaveClass ( 'one' ) ;
340
340
expect ( e1 ) . not . toHaveClass ( 'two' ) ;
341
- expect ( e1 ) . toHaveClass ( 'too ' ) ;
341
+ expect ( e1 ) . toHaveClass ( 'another-two ' ) ;
342
342
expect ( e1 ) . toHaveClass ( 'three' ) ;
343
343
expect ( e1 ) . not . toHaveClass ( 'four' ) ;
344
344
expect ( e1 ) . toHaveClass ( 'five' ) ;
345
345
expect ( e2 ) . toHaveClass ( 'one' ) ;
346
346
expect ( e2 ) . not . toHaveClass ( 'two' ) ;
347
- expect ( e2 ) . toHaveClass ( 'too ' ) ;
347
+ expect ( e2 ) . toHaveClass ( 'another-two ' ) ;
348
348
expect ( e2 ) . toHaveClass ( 'three' ) ;
349
349
expect ( e2 ) . not . toHaveClass ( 'four' ) ;
350
350
expect ( e2 ) . toHaveClass ( 'five' ) ;
351
351
352
- $rootScope . $apply ( 'two = "to "; four = "four"' ) ;
352
+ $rootScope . $apply ( 'two = "two-more "; four = "four"' ) ;
353
353
354
354
expect ( e1 ) . toHaveClass ( 'one' ) ;
355
355
expect ( e1 ) . not . toHaveClass ( 'two' ) ;
356
- expect ( e1 ) . not . toHaveClass ( 'too ' ) ;
357
- expect ( e1 ) . toHaveClass ( 'to ' ) ;
356
+ expect ( e1 ) . not . toHaveClass ( 'another-two ' ) ;
357
+ expect ( e1 ) . toHaveClass ( 'two-more ' ) ;
358
358
expect ( e1 ) . toHaveClass ( 'three' ) ;
359
359
expect ( e1 ) . not . toHaveClass ( 'four' ) ;
360
360
expect ( e1 ) . toHaveClass ( 'five' ) ;
361
361
expect ( e2 ) . toHaveClass ( 'one' ) ;
362
362
expect ( e2 ) . not . toHaveClass ( 'two' ) ;
363
- expect ( e2 ) . not . toHaveClass ( 'too ' ) ;
364
- expect ( e2 ) . toHaveClass ( 'to ' ) ;
363
+ expect ( e2 ) . not . toHaveClass ( 'another-two ' ) ;
364
+ expect ( e2 ) . toHaveClass ( 'two-more ' ) ;
365
365
expect ( e2 ) . toHaveClass ( 'three' ) ;
366
366
expect ( e2 ) . toHaveClass ( 'four' ) ;
367
367
expect ( e2 ) . toHaveClass ( 'five' ) ;
@@ -370,15 +370,15 @@ describe('ngClass', function() {
370
370
371
371
expect ( e1 ) . toHaveClass ( 'one' ) ;
372
372
expect ( e1 ) . not . toHaveClass ( 'two' ) ;
373
- expect ( e1 ) . not . toHaveClass ( 'too ' ) ;
374
- expect ( e1 ) . toHaveClass ( 'to ' ) ;
373
+ expect ( e1 ) . not . toHaveClass ( 'another-two ' ) ;
374
+ expect ( e1 ) . toHaveClass ( 'two-more ' ) ;
375
375
expect ( e1 ) . toHaveClass ( 'three' ) ;
376
376
expect ( e1 ) . not . toHaveClass ( 'four' ) ;
377
377
expect ( e1 ) . not . toHaveClass ( 'five' ) ;
378
378
expect ( e2 ) . toHaveClass ( 'one' ) ;
379
379
expect ( e2 ) . not . toHaveClass ( 'two' ) ;
380
- expect ( e2 ) . not . toHaveClass ( 'too ' ) ;
381
- expect ( e2 ) . toHaveClass ( 'to ' ) ;
380
+ expect ( e2 ) . not . toHaveClass ( 'another-two ' ) ;
381
+ expect ( e2 ) . toHaveClass ( 'two-more ' ) ;
382
382
expect ( e2 ) . toHaveClass ( 'three' ) ;
383
383
expect ( e2 ) . toHaveClass ( 'four' ) ;
384
384
expect ( e2 ) . not . toHaveClass ( 'five' ) ;
0 commit comments