diff --git a/content/docs/addons-test-utils.md b/content/docs/addons-test-utils.md
index d83be3e6..cbdf09da 100644
--- a/content/docs/addons-test-utils.md
+++ b/content/docs/addons-test-utils.md
@@ -66,16 +66,16 @@ Simulate an event dispatch on a DOM node with optional `eventData` event data.
**Clicking an element**
```javascript
-//
-const node = this.refs.button;
+//
+const node = this.button;
ReactTestUtils.Simulate.click(node);
```
**Changing the value of an input field and then pressing ENTER.**
```javascript
-//
-const node = this.refs.input;
+// this.textInput = node} />
+const node = this.textInput;
node.value = 'giraffe';
ReactTestUtils.Simulate.change(node);
ReactTestUtils.Simulate.keyDown(node, {key: "Enter", keyCode: 13, which: 13});