@@ -26,8 +26,8 @@ describe('DropdownButton', function () {
2626
2727 var button = ReactTestUtils . findRenderedComponentWithType ( instance , Button ) . getDOMNode ( ) ;
2828 assert . ok ( instance . getDOMNode ( ) . className . match ( / \b b t n - g r o u p \b / ) ) ;
29+ assert . ok ( instance . getDOMNode ( ) . className . match ( / \b t e s t - c l a s s \b / ) ) ;
2930 assert . ok ( button . className . match ( / \b b t n \b / ) ) ;
30- assert . ok ( button . className . match ( / \b t e s t - c l a s s \b / ) ) ;
3131 assert . equal ( button . nodeName , 'BUTTON' ) ;
3232 assert . equal ( button . type , 'button' ) ;
3333 assert . ok ( button . className . match ( / \b d r o p d o w n - t o g g l e \b / ) ) ;
@@ -171,7 +171,7 @@ describe('DropdownButton', function () {
171171 var button = ReactTestUtils . findRenderedComponentWithType ( instance , Button ) . getDOMNode ( ) ;
172172 assert . equal ( li . nodeName , 'LI' ) ;
173173 assert . ok ( li . className . match ( / \b d r o p d o w n \b / ) ) ;
174- assert . ok ( button . className . match ( / \b t e s t - c l a s s \b / ) ) ;
174+ assert . ok ( li . className . match ( / \b t e s t - c l a s s \b / ) ) ;
175175 assert . equal ( button . nodeName , 'A' ) ;
176176 assert . ok ( button . className . match ( / \b d r o p d o w n - t o g g l e \b / ) ) ;
177177 assert . ok ( button . lastChild . className . match ( / \b c a r e t \b / ) ) ;
@@ -203,4 +203,4 @@ describe('DropdownButton', function () {
203203 var carets = button . getElementsByClassName ( 'caret' ) ;
204204 assert . equal ( carets . length , 0 ) ;
205205 } ) ;
206- } ) ;
206+ } ) ;
0 commit comments