@@ -440,9 +440,9 @@ describe('ReactDOMSelect', () => {
440
440
</ select >
441
441
) ;
442
442
var markup = ReactDOMServer . renderToString ( stub ) ;
443
- expect ( markup ) . toContain ( '<option selected="" value="giraffe"' ) ;
444
- expect ( markup ) . not . toContain ( '<option selected="" value="monkey"' ) ;
445
- expect ( markup ) . not . toContain ( '<option selected="" value="gorilla"' ) ;
443
+ expect ( markup ) . toContain ( '<option selected value="giraffe"' ) ;
444
+ expect ( markup ) . not . toContain ( '<option selected value="monkey"' ) ;
445
+ expect ( markup ) . not . toContain ( '<option selected value="gorilla"' ) ;
446
446
} ) ;
447
447
448
448
it ( 'should support server-side rendering with defaultValue' , ( ) => {
@@ -454,9 +454,9 @@ describe('ReactDOMSelect', () => {
454
454
</ select >
455
455
) ;
456
456
var markup = ReactDOMServer . renderToString ( stub ) ;
457
- expect ( markup ) . toContain ( '<option selected="" value="giraffe"' ) ;
458
- expect ( markup ) . not . toContain ( '<option selected="" value="monkey"' ) ;
459
- expect ( markup ) . not . toContain ( '<option selected="" value="gorilla"' ) ;
457
+ expect ( markup ) . toContain ( '<option selected value="giraffe"' ) ;
458
+ expect ( markup ) . not . toContain ( '<option selected value="monkey"' ) ;
459
+ expect ( markup ) . not . toContain ( '<option selected value="gorilla"' ) ;
460
460
} ) ;
461
461
462
462
it ( 'should support server-side rendering with multiple' , ( ) => {
@@ -468,9 +468,9 @@ describe('ReactDOMSelect', () => {
468
468
</ select >
469
469
) ;
470
470
var markup = ReactDOMServer . renderToString ( stub ) ;
471
- expect ( markup ) . toContain ( '<option selected="" value="giraffe"' ) ;
472
- expect ( markup ) . toContain ( '<option selected="" value="gorilla"' ) ;
473
- expect ( markup ) . not . toContain ( '<option selected="" value="monkey"' ) ;
471
+ expect ( markup ) . toContain ( '<option selected value="giraffe"' ) ;
472
+ expect ( markup ) . toContain ( '<option selected value="gorilla"' ) ;
473
+ expect ( markup ) . not . toContain ( '<option selected value="monkey"' ) ;
474
474
} ) ;
475
475
476
476
it ( 'should not control defaultValue if readding options' , ( ) => {
0 commit comments