Skip to content

Commit

Permalink
Framework: Resolve failing test from React 15.2.0 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Jul 6, 2016
1 parent d5f619e commit b3bcfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/button-group/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ describe( 'ButtonGroup', function() {
it( 'should throw an error if any of the children is not a <Button>', function() {
shallow( <ButtonGroup><div id="test">test</div></ButtonGroup> );

sinon.assert.calledWithExactly( console.error, 'Warning: Failed propType: All children elements should be a Button.' );
sinon.assert.calledWithExactly( console.error, sinon.match( 'All children elements should be a Button.' ) );
} );
} );

0 comments on commit b3bcfbb

Please sign in to comment.