Skip to content

Commit

Permalink
Fixed Radio Group Test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirsoni committed Oct 14, 2017
1 parent 9c9107d commit cbb2ac5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/__tests__/RadioGroup.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import expect from 'expect'
import expectJsx from 'expect-jsx'
import { RadioGroup } from 'material-ui/Radio'
import React from 'react'
import noop from 'lodash.noop'
import TestUtils from 'react-dom/test-utils'
import ReduxFormMaterialUIRadioGroup from '../RadioGroup'

Expand All @@ -19,13 +20,15 @@ describe('RadioGroup', () => {
new ReduxFormMaterialUIRadioGroup({
input: {
name: 'myRadio',
value: 'Foo'
value: 'Foo',
onChange:{noop}
}
}).render()
).toEqualJSX(
<RadioGroup
name="myRadio"
value="Foo"
onChange={noop}
ref={() => {}}
/>
)
Expand Down

0 comments on commit cbb2ac5

Please sign in to comment.