Fix radio input test in Chrome
It seems like the `form="pluto"` was throwing it off and making the input live outside the form it should have been contained in, causing it to uncheck A. I added it intending to test the form attribute but ended up not needing it so removing it should be fine. (The tests were passing in phantomjs since it doesn't support the `form` attribute and simply ignored it.) Test Plan: grunt test; grunt test --debug
Ben Alpert committed
Sep 9, 2013 at 18:44 UTC
3bbd966a829b10285fbf9548b280f05ca2a45543
1 file changed
+1
-2
src/dom/components/__tests__/ReactDOMInput-test.js
+1
-2
@@ -61,8 +61,7 @@ describe('ReactDOMInput', function() {
61
<input ref="b" type="radio" name="fruit" />B
62
63
<form>
64
- <input ref="c" type="radio" name="fruit" form="pluto"
65
- defaultChecked={true} />
64
+ <input ref="c" type="radio" name="fruit" defaultChecked={true} />
65
</form>
66
</div>
67
);