{"action":"opened","issue":{"url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/46","labels_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/46/comments","events_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/46/events","html_url":"https://github.com/QubitProducts/react-test-tree/issues/46","id":107901263,"number":46,"title":"Can't find subsequent children ref of a refCollection","user":{"login":"goncalvesjoao","id":932177,"avatar_url":"https://avatars.githubusercontent.com/u/932177?v=3","gravatar_id":"","url":"https://api.github.com/users/goncalvesjoao","html_url":"https://github.com/goncalvesjoao","followers_url":"https://api.github.com/users/goncalvesjoao/followers","following_url":"https://api.github.com/users/goncalvesjoao/following{/other_user}","gists_url":"https://api.github.com/users/goncalvesjoao/gists{/gist_id}","starred_url":"https://api.github.com/users/goncalvesjoao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goncalvesjoao/subscriptions","organizations_url":"https://api.github.com/users/goncalvesjoao/orgs","repos_url":"https://api.github.com/users/goncalvesjoao/repos","events_url":"https://api.github.com/users/goncalvesjoao/events{/privacy}","received_events_url":"https://api.github.com/users/goncalvesjoao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T11:40:33Z","updated_at":"2015-09-23T11:40:33Z","closed_at":null,"body":"Guys, I've got the following test that I can't make it pass, for the life of me.\r\nAm I doing something wrong?\r\n\r\n```javascript\r\nconst StarwarsDroids = React.createClass({\r\n\r\n  getInitialState() {\r\n    return {\r\n      droids: [\r\n        { id: 1, name: 'r2d2', avatar: 'none' },\r\n        { id: 2, name: 'c-3po', avatar: 'none' },\r\n      ],\r\n    };\r\n  },\r\n\r\n  render() {\r\n    return (\r\n      <ul className='list-inline' refCollection='droids'>\r\n        { this.state.droids.map(this.renderDroid) }\r\n      </ul>\r\n    );\r\n  },\r\n\r\n  renderDroid(droid, index) {\r\n    return (\r\n      <li key={ index }>\r\n        <img ref='avatar' className='img-circle' src={ droid.avatar } />\r\n      </li>\r\n    );\r\n  },\r\n\r\n});\r\n\r\ndescribe('StarwarsDroids', () => {\r\n  context('when no props are used', () => {\r\n    it('should list all droids with an avatar', () => {\r\n      const starwarsDroidsTree = TestTree(<StarwarsDroids />);\r\n\r\n      expect(starwarsDroidsTree.droids.length).to.equal(2);\r\n\r\n      starwarsDroidsTree.droids.forEach((droid) => {\r\n        expect(droid.avatar.getAttribute('src')).to.equal('none');\r\n      });\r\n    });\r\n  });\r\n});\r\n```\r\n\r\ndroid.avatar is undefined, and droid.refs is empty. What am I missing?\r\n\r\nThanks in advance!!"}}