@@ -12,16 +12,6 @@ describe('Button', function () {
1212 assert . equal ( React . findDOMNode ( instance ) . nodeName , 'BUTTON' ) ;
1313 } ) ;
1414
15- it ( 'Should output a component with button classes' , function ( ) {
16- let instance = ReactTestUtils . renderIntoDocument (
17- < Button componentClass = 'input' >
18- Title
19- </ Button >
20- ) ;
21- assert . equal ( React . findDOMNode ( instance ) . nodeName , 'INPUT' ) ;
22- assert . equal ( React . findDOMNode ( instance ) . getAttribute ( 'class' ) , 'btn btn-default' ) ;
23- } ) ;
24-
2515 it ( 'Should have type=button by default' , function ( ) {
2616 let instance = ReactTestUtils . renderIntoDocument (
2717 < Button >
@@ -51,17 +41,6 @@ describe('Button', function () {
5141 assert . equal ( React . findDOMNode ( instance ) . getAttribute ( 'href' ) , href ) ;
5242 } ) ;
5343
54- it ( 'Should output an input if called with a href and an input component' , function ( ) {
55- let href = '/url' ;
56- let instance = ReactTestUtils . renderIntoDocument (
57- < Button href = { href } componentClass = 'input' >
58- Title
59- </ Button >
60- ) ;
61- assert . equal ( React . findDOMNode ( instance ) . nodeName , 'INPUT' ) ;
62- assert . equal ( React . findDOMNode ( instance ) . getAttribute ( 'href' ) , href ) ;
63- } ) ;
64-
6544 it ( 'Should output an anchor if called with a target' , function ( ) {
6645 let target = '_blank' ;
6746 let instance = ReactTestUtils . renderIntoDocument (
0 commit comments