{"action":"created","comment":{"url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/comments/36368710","id":36368710,"diff_hunk":"@@ -15,4 +15,9 @@ def eventually(options = {})\n       sleep interval\n     end\n   end\n+\n+  def eventually_expect &assertion","path":"lib/eventually_helper.rb","position":5,"original_position":5,"commit_id":"d026c2d0b7239e08af2a8b1768f4aeae79e686e5","original_commit_id":"d026c2d0b7239e08af2a8b1768f4aeae79e686e5","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use def with parentheses when there are parameters.","created_at":"2015-08-05T23:51:05Z","updated_at":"2015-08-05T23:51:05Z","html_url":"https://github.com/justinrolston/eventually_helper/pull/6#discussion_r36368710","pull_request_url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/comments/36368710"},"html":{"href":"https://github.com/justinrolston/eventually_helper/pull/6#discussion_r36368710"},"pull_request":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6","id":41739162,"html_url":"https://github.com/justinrolston/eventually_helper/pull/6","diff_url":"https://github.com/justinrolston/eventually_helper/pull/6.diff","patch_url":"https://github.com/justinrolston/eventually_helper/pull/6.patch","issue_url":"https://api.github.com/repos/justinrolston/eventually_helper/issues/6","number":6,"state":"open","locked":false,"title":"#eventually_expect","user":{"login":"cartoloupe","id":4593934,"avatar_url":"https://avatars.githubusercontent.com/u/4593934?v=3","gravatar_id":"","url":"https://api.github.com/users/cartoloupe","html_url":"https://github.com/cartoloupe","followers_url":"https://api.github.com/users/cartoloupe/followers","following_url":"https://api.github.com/users/cartoloupe/following{/other_user}","gists_url":"https://api.github.com/users/cartoloupe/gists{/gist_id}","starred_url":"https://api.github.com/users/cartoloupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartoloupe/subscriptions","organizations_url":"https://api.github.com/users/cartoloupe/orgs","repos_url":"https://api.github.com/users/cartoloupe/repos","events_url":"https://api.github.com/users/cartoloupe/events{/privacy}","received_events_url":"https://api.github.com/users/cartoloupe/received_events","type":"User","site_admin":false},"body":"When the assertion and the wait statements are identical, instead a call to `eventually` and then a call to `expect` with the same statement, now you can use `eventually_expect`, i.e. \r\n\r\n```ruby\r\neventually_expect{ @test.call == outcome }.to be true\r\n```\r\n\r\nN.B. the assertion should be a boolean expression","created_at":"2015-08-05T23:51:00Z","updated_at":"2015-08-05T23:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4eef65f107e907032248be613d49f1b07b2137f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6/commits","review_comments_url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6/comments","review_comment_url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justinrolston/eventually_helper/issues/6/comments","statuses_url":"https://api.github.com/repos/justinrolston/eventually_helper/statuses/d026c2d0b7239e08af2a8b1768f4aeae79e686e5","head":{"label":"cartoloupe:eventually_expect","ref":"eventually_expect","sha":"d026c2d0b7239e08af2a8b1768f4aeae79e686e5","user":{"login":"cartoloupe","id":4593934,"avatar_url":"https://avatars.githubusercontent.com/u/4593934?v=3","gravatar_id":"","url":"https://api.github.com/users/cartoloupe","html_url":"https://github.com/cartoloupe","followers_url":"https://api.github.com/users/cartoloupe/followers","following_url":"https://api.github.com/users/cartoloupe/following{/other_user}","gists_url":"https://api.github.com/users/cartoloupe/gists{/gist_id}","starred_url":"https://api.github.com/users/cartoloupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartoloupe/subscriptions","organizations_url":"https://api.github.com/users/cartoloupe/orgs","repos_url":"https://api.github.com/users/cartoloupe/repos","events_url":"https://api.github.com/users/cartoloupe/events{/privacy}","received_events_url":"https://api.github.com/users/cartoloupe/received_events","type":"User","site_admin":false},"repo":{"id":40273391,"name":"eventually_helper","full_name":"cartoloupe/eventually_helper","owner":{"login":"cartoloupe","id":4593934,"avatar_url":"https://avatars.githubusercontent.com/u/4593934?v=3","gravatar_id":"","url":"https://api.github.com/users/cartoloupe","html_url":"https://github.com/cartoloupe","followers_url":"https://api.github.com/users/cartoloupe/followers","following_url":"https://api.github.com/users/cartoloupe/following{/other_user}","gists_url":"https://api.github.com/users/cartoloupe/gists{/gist_id}","starred_url":"https://api.github.com/users/cartoloupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartoloupe/subscriptions","organizations_url":"https://api.github.com/users/cartoloupe/orgs","repos_url":"https://api.github.com/users/cartoloupe/repos","events_url":"https://api.github.com/users/cartoloupe/events{/privacy}","received_events_url":"https://api.github.com/users/cartoloupe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cartoloupe/eventually_helper","description":"","fork":true,"url":"https://api.github.com/repos/cartoloupe/eventually_helper","forks_url":"https://api.github.com/repos/cartoloupe/eventually_helper/forks","keys_url":"https://api.github.com/repos/cartoloupe/eventually_helper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cartoloupe/eventually_helper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cartoloupe/eventually_helper/teams","hooks_url":"https://api.github.com/repos/cartoloupe/eventually_helper/hooks","issue_events_url":"https://api.github.com/repos/cartoloupe/eventually_helper/issues/events{/number}","events_url":"https://api.github.com/repos/cartoloupe/eventually_helper/events","assignees_url":"https://api.github.com/repos/cartoloupe/eventually_helper/assignees{/user}","branches_url":"https://api.github.com/repos/cartoloupe/eventually_helper/branches{/branch}","tags_url":"https://api.github.com/repos/cartoloupe/eventually_helper/tags","blobs_url":"https://api.github.com/repos/cartoloupe/eventually_helper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cartoloupe/eventually_helper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cartoloupe/eventually_helper/git/refs{/sha}","trees_url":"https://api.github.com/repos/cartoloupe/eventually_helper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cartoloupe/eventually_helper/statuses/{sha}","languages_url":"https://api.github.com/repos/cartoloupe/eventually_helper/languages","stargazers_url":"https://api.github.com/repos/cartoloupe/eventually_helper/stargazers","contributors_url":"https://api.github.com/repos/cartoloupe/eventually_helper/contributors","subscribers_url":"https://api.github.com/repos/cartoloupe/eventually_helper/subscribers","subscription_url":"https://api.github.com/repos/cartoloupe/eventually_helper/subscription","commits_url":"https://api.github.com/repos/cartoloupe/eventually_helper/commits{/sha}","git_commits_url":"https://api.github.com/repos/cartoloupe/eventually_helper/git/commits{/sha}","comments_url":"https://api.github.com/repos/cartoloupe/eventually_helper/comments{/number}","issue_comment_url":"https://api.github.com/repos/cartoloupe/eventually_helper/issues/comments{/number}","contents_url":"https://api.github.com/repos/cartoloupe/eventually_helper/contents/{+path}","compare_url":"https://api.github.com/repos/cartoloupe/eventually_helper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cartoloupe/eventually_helper/merges","archive_url":"https://api.github.com/repos/cartoloupe/eventually_helper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cartoloupe/eventually_helper/downloads","issues_url":"https://api.github.com/repos/cartoloupe/eventually_helper/issues{/number}","pulls_url":"https://api.github.com/repos/cartoloupe/eventually_helper/pulls{/number}","milestones_url":"https://api.github.com/repos/cartoloupe/eventually_helper/milestones{/number}","notifications_url":"https://api.github.com/repos/cartoloupe/eventually_helper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cartoloupe/eventually_helper/labels{/name}","releases_url":"https://api.github.com/repos/cartoloupe/eventually_helper/releases{/id}","created_at":"2015-08-05T23:15:08Z","updated_at":"2015-08-05T23:15:08Z","pushed_at":"2015-08-05T23:42:54Z","git_url":"git://github.com/cartoloupe/eventually_helper.git","ssh_url":"git@github.com:cartoloupe/eventually_helper.git","clone_url":"https://github.com/cartoloupe/eventually_helper.git","svn_url":"https://github.com/cartoloupe/eventually_helper","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"justinrolston:master","ref":"master","sha":"d2152b4cb7bd27be70db7ef90eb616c870cc07aa","user":{"login":"justinrolston","id":91867,"avatar_url":"https://avatars.githubusercontent.com/u/91867?v=3","gravatar_id":"","url":"https://api.github.com/users/justinrolston","html_url":"https://github.com/justinrolston","followers_url":"https://api.github.com/users/justinrolston/followers","following_url":"https://api.github.com/users/justinrolston/following{/other_user}","gists_url":"https://api.github.com/users/justinrolston/gists{/gist_id}","starred_url":"https://api.github.com/users/justinrolston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinrolston/subscriptions","organizations_url":"https://api.github.com/users/justinrolston/orgs","repos_url":"https://api.github.com/users/justinrolston/repos","events_url":"https://api.github.com/users/justinrolston/events{/privacy}","received_events_url":"https://api.github.com/users/justinrolston/received_events","type":"User","site_admin":false},"repo":{"id":20600389,"name":"eventually_helper","full_name":"justinrolston/eventually_helper","owner":{"login":"justinrolston","id":91867,"avatar_url":"https://avatars.githubusercontent.com/u/91867?v=3","gravatar_id":"","url":"https://api.github.com/users/justinrolston","html_url":"https://github.com/justinrolston","followers_url":"https://api.github.com/users/justinrolston/followers","following_url":"https://api.github.com/users/justinrolston/following{/other_user}","gists_url":"https://api.github.com/users/justinrolston/gists{/gist_id}","starred_url":"https://api.github.com/users/justinrolston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinrolston/subscriptions","organizations_url":"https://api.github.com/users/justinrolston/orgs","repos_url":"https://api.github.com/users/justinrolston/repos","events_url":"https://api.github.com/users/justinrolston/events{/privacy}","received_events_url":"https://api.github.com/users/justinrolston/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justinrolston/eventually_helper","description":"","fork":false,"url":"https://api.github.com/repos/justinrolston/eventually_helper","forks_url":"https://api.github.com/repos/justinrolston/eventually_helper/forks","keys_url":"https://api.github.com/repos/justinrolston/eventually_helper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justinrolston/eventually_helper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justinrolston/eventually_helper/teams","hooks_url":"https://api.github.com/repos/justinrolston/eventually_helper/hooks","issue_events_url":"https://api.github.com/repos/justinrolston/eventually_helper/issues/events{/number}","events_url":"https://api.github.com/repos/justinrolston/eventually_helper/events","assignees_url":"https://api.github.com/repos/justinrolston/eventually_helper/assignees{/user}","branches_url":"https://api.github.com/repos/justinrolston/eventually_helper/branches{/branch}","tags_url":"https://api.github.com/repos/justinrolston/eventually_helper/tags","blobs_url":"https://api.github.com/repos/justinrolston/eventually_helper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justinrolston/eventually_helper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justinrolston/eventually_helper/git/refs{/sha}","trees_url":"https://api.github.com/repos/justinrolston/eventually_helper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justinrolston/eventually_helper/statuses/{sha}","languages_url":"https://api.github.com/repos/justinrolston/eventually_helper/languages","stargazers_url":"https://api.github.com/repos/justinrolston/eventually_helper/stargazers","contributors_url":"https://api.github.com/repos/justinrolston/eventually_helper/contributors","subscribers_url":"https://api.github.com/repos/justinrolston/eventually_helper/subscribers","subscription_url":"https://api.github.com/repos/justinrolston/eventually_helper/subscription","commits_url":"https://api.github.com/repos/justinrolston/eventually_helper/commits{/sha}","git_commits_url":"https://api.github.com/repos/justinrolston/eventually_helper/git/commits{/sha}","comments_url":"https://api.github.com/repos/justinrolston/eventually_helper/comments{/number}","issue_comment_url":"https://api.github.com/repos/justinrolston/eventually_helper/issues/comments{/number}","contents_url":"https://api.github.com/repos/justinrolston/eventually_helper/contents/{+path}","compare_url":"https://api.github.com/repos/justinrolston/eventually_helper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justinrolston/eventually_helper/merges","archive_url":"https://api.github.com/repos/justinrolston/eventually_helper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justinrolston/eventually_helper/downloads","issues_url":"https://api.github.com/repos/justinrolston/eventually_helper/issues{/number}","pulls_url":"https://api.github.com/repos/justinrolston/eventually_helper/pulls{/number}","milestones_url":"https://api.github.com/repos/justinrolston/eventually_helper/milestones{/number}","notifications_url":"https://api.github.com/repos/justinrolston/eventually_helper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justinrolston/eventually_helper/labels{/name}","releases_url":"https://api.github.com/repos/justinrolston/eventually_helper/releases{/id}","created_at":"2014-06-07T18:56:13Z","updated_at":"2015-02-19T00:58:47Z","pushed_at":"2015-08-05T23:51:01Z","git_url":"git://github.com/justinrolston/eventually_helper.git","ssh_url":"git@github.com:justinrolston/eventually_helper.git","clone_url":"https://github.com/justinrolston/eventually_helper.git","svn_url":"https://github.com/justinrolston/eventually_helper","homepage":null,"size":201,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6"},"html":{"href":"https://github.com/justinrolston/eventually_helper/pull/6"},"issue":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/issues/6"},"comments":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/justinrolston/eventually_helper/statuses/d026c2d0b7239e08af2a8b1768f4aeae79e686e5"}}}}