{"action":"created","issue":{"url":"https://api.github.com/repos/bellycard/napa/issues/217","labels_url":"https://api.github.com/repos/bellycard/napa/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/bellycard/napa/issues/217/comments","events_url":"https://api.github.com/repos/bellycard/napa/issues/217/events","html_url":"https://github.com/bellycard/napa/pull/217","id":89027722,"number":217,"title":"Update test of data to check for the method actually used rather than…","user":{"login":"leason","id":274895,"avatar_url":"https://avatars.githubusercontent.com/u/274895?v=3","gravatar_id":"","url":"https://api.github.com/users/leason","html_url":"https://github.com/leason","followers_url":"https://api.github.com/users/leason/followers","following_url":"https://api.github.com/users/leason/following{/other_user}","gists_url":"https://api.github.com/users/leason/gists{/gist_id}","starred_url":"https://api.github.com/users/leason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leason/subscriptions","organizations_url":"https://api.github.com/users/leason/orgs","repos_url":"https://api.github.com/users/leason/repos","events_url":"https://api.github.com/users/leason/events{/privacy}","received_events_url":"https://api.github.com/users/leason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-17T14:08:13Z","updated_at":"2015-06-30T11:43:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bellycard/napa/pulls/217","html_url":"https://github.com/bellycard/napa/pull/217","diff_url":"https://github.com/bellycard/napa/pull/217.diff","patch_url":"https://github.com/bellycard/napa/pull/217.patch"},"body":"… assume that an object that responds to :to_a can respond to :map.\r\n\r\nThis resolves https://github.com/bellycard/napa/issues/216"},"comment":{"url":"https://api.github.com/repos/bellycard/napa/issues/comments/117142655","html_url":"https://github.com/bellycard/napa/pull/217#issuecomment-117142655","issue_url":"https://api.github.com/repos/bellycard/napa/issues/217","id":117142655,"user":{"login":"umtrey","id":243450,"avatar_url":"https://avatars.githubusercontent.com/u/243450?v=3","gravatar_id":"","url":"https://api.github.com/users/umtrey","html_url":"https://github.com/umtrey","followers_url":"https://api.github.com/users/umtrey/followers","following_url":"https://api.github.com/users/umtrey/following{/other_user}","gists_url":"https://api.github.com/users/umtrey/gists{/gist_id}","starred_url":"https://api.github.com/users/umtrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umtrey/subscriptions","organizations_url":"https://api.github.com/users/umtrey/orgs","repos_url":"https://api.github.com/users/umtrey/repos","events_url":"https://api.github.com/users/umtrey/events{/privacy}","received_events_url":"https://api.github.com/users/umtrey/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T11:43:26Z","updated_at":"2015-06-30T11:43:26Z","body":"+1 here - we're asking for the object to call `map` immediately after the conditional, so verifying that it responds to this method is best. Mapping does not require the object itself to be directly coercible to an array, just that it can be iterated over as an enumerator."}}