GitHub PullRequestReviewCommentEvent at 2014-07-03 08:08:08
Repository: ruby-china
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ruby-china/ruby-china/pulls/comments/14501569","id":14501569,"diff_hunk":"@@ -11,19 +11,19 @@\n \n   describe \"index_sections\" do\n     it \"should render sections\" do\n-      render_cell(:topics, :index_sections).should have_css('div#sections li', :count => 1)\n+      expect(render_cell(:topics, :index_sections)).to have_css('div#sections li', :count => 1)","path":"spec/cells/topics_cell_spec.rb","position":11,"original_position":11,"commit_id":"fe693f379549346b87139564fe562af62af32787","original_commit_id":"fe693f379549346b87139564fe562af62af32787","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","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 the new Ruby 1.9 hash syntax.<br>Line is too long. [95/80]<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2014-07-03T08:08:08Z","updated_at":"2014-07-03T08:08:08Z","html_url":"https://github.com/ruby-china/ruby-china/pull/323#discussion_r14501569","pull_request_url":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323","_links":{"self":{"href":"https://api.github.com/repos/ruby-china/ruby-china/pulls/comments/14501569"},"html":{"href":"https://github.com/ruby-china/ruby-china/pull/323#discussion_r14501569"},"pull_request":{"href":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323"}}},"pull_request":{"url":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323","id":17929356,"html_url":"https://github.com/ruby-china/ruby-china/pull/323","diff_url":"https://github.com/ruby-china/ruby-china/pull/323.diff","patch_url":"https://github.com/ruby-china/ruby-china/pull/323.patch","issue_url":"https://api.github.com/repos/ruby-china/ruby-china/issues/323","number":323,"state":"open","title":"Migrate to RSpec 3 and eliminate all deprecations","user":{"login":"pmq20","id":13315,"avatar_url":"https://avatars.githubusercontent.com/u/13315?","gravatar_id":"8002c84eb4c18170632f8fb7efb09288","url":"https://api.github.com/users/pmq20","html_url":"https://github.com/pmq20","followers_url":"https://api.github.com/users/pmq20/followers","following_url":"https://api.github.com/users/pmq20/following{/other_user}","gists_url":"https://api.github.com/users/pmq20/gists{/gist_id}","starred_url":"https://api.github.com/users/pmq20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmq20/subscriptions","organizations_url":"https://api.github.com/users/pmq20/orgs","repos_url":"https://api.github.com/users/pmq20/repos","events_url":"https://api.github.com/users/pmq20/events{/privacy}","received_events_url":"https://api.github.com/users/pmq20/received_events","type":"User","site_admin":false},"body":"* Add RSpec 3.x rails_helper and spec_helper conventions\r\n* Use the `expect` syntax over the old `should` syntax\r\n* Use the `allow` syntax over the old `mock` syntax\r\n* Remove `visit` in controller specs\r\n* Change :example_group filtering\r\n* Change `expect(record).not_to have(1).error_on(:slug)` syntax\r\n* w/ capybara upgraded from `0.2` to `2.3`\r\n* w/ cancan upgraded to `cancancan`\r\n\r\n![2014-07-03 15 12 55](https://cloud.githubusercontent.com/assets/13315/3466599/5b9359c4-0283-11e4-9890-801c01fd32e6.png)","created_at":"2014-07-03T07:26:54Z","updated_at":"2014-07-03T08:08:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7284067a3162b1c0ed77c0e0462f1f4b61f779df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323/commits","review_comments_url":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323/comments","review_comment_url":"https://api.github.com/repos/ruby-china/ruby-china/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ruby-china/ruby-china/issues/323/comments","statuses_url":"https://api.github.com/repos/ruby-china/ruby-china/statuses/fe693f379549346b87139564fe562af62af32787","head":{"label":"pmq20:upgrading_rspec_23","ref":"upgrading_rspec_23","sha":"fe693f379549346b87139564fe562af62af32787","user":{"login":"pmq20","id":13315,"avatar_url":"https://avatars.githubusercontent.com/u/13315?","gravatar_id":"8002c84eb4c18170632f8fb7efb09288","url":"https://api.github.com/users/pmq20","html_url":"https://github.com/pmq20","followers_url":"https://api.github.com/users/pmq20/followers","following_url":"https://api.github.com/users/pmq20/following{/other_user}","gists_url":"https://api.github.com/users/pmq20/gists{/gist_id}","starred_url":"https://api.github.com/users/pmq20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmq20/subscriptions","organizations_url":"https://api.github.com/users/pmq20/orgs","repos_url":"https://api.github.com/users/pmq20/repos","events_url":"https://api.github.com/users/pmq20/events{/privacy}","received_events_url":"https://api.github.com/users/pmq20/received_events","type":"User","site_admin":false},"repo":{"id":18589843,"name":"ruby-china","full_name":"pmq20/ruby-china","owner":{"login":"pmq20","id":13315,"avatar_url":"https://avatars.githubusercontent.com/u/13315?","gravatar_id":"8002c84eb4c18170632f8fb7efb09288","url":"https://api.github.com/users/pmq20","html_url":"https://github.com/pmq20","followers_url":"https://api.github.com/users/pmq20/followers","following_url":"https://api.github.com/users/pmq20/following{/other_user}","gists_url":"https://api.github.com/users/pmq20/gists{/gist_id}","starred_url":"https://api.github.com/users/pmq20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmq20/subscriptions","organizations_url":"https://api.github.com/users/pmq20/orgs","repos_url":"https://api.github.com/users/pmq20/repos","events_url":"https://api.github.com/users/pmq20/events{/privacy}","received_events_url":"https://api.github.com/users/pmq20/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmq20/ruby-china","description":"ruby-china.org website source code.","fork":true,"url":"https://api.github.com/repos/pmq20/ruby-china","forks_url":"https://api.github.com/repos/pmq20/ruby-china/forks","keys_url":"https://api.github.com/repos/pmq20/ruby-china/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmq20/ruby-china/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmq20/ruby-china/teams","hooks_url":"https://api.github.com/repos/pmq20/ruby-china/hooks","issue_events_url":"https://api.github.com/repos/pmq20/ruby-china/issues/events{/number}","events_url":"https://api.github.com/repos/pmq20/ruby-china/events","assignees_url":"https://api.github.com/repos/pmq20/ruby-china/assignees{/user}","branches_url":"https://api.github.com/repos/pmq20/ruby-china/branches{/branch}","tags_url":"https://api.github.com/repos/pmq20/ruby-china/tags","blobs_url":"https://api.github.com/repos/pmq20/ruby-china/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmq20/ruby-china/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmq20/ruby-china/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmq20/ruby-china/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmq20/ruby-china/statuses/{sha}","languages_url":"https://api.github.com/repos/pmq20/ruby-china/languages","stargazers_url":"https://api.github.com/repos/pmq20/ruby-china/stargazers","contributors_url":"https://api.github.com/repos/pmq20/ruby-china/contributors","subscribers_url":"https://api.github.com/repos/pmq20/ruby-china/subscribers","subscription_url":"https://api.github.com/repos/pmq20/ruby-china/subscription","commits_url":"https://api.github.com/repos/pmq20/ruby-china/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmq20/ruby-china/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmq20/ruby-china/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmq20/ruby-china/issues/comments/{number}","contents_url":"https://api.github.com/repos/pmq20/ruby-china/contents/{+path}","compare_url":"https://api.github.com/repos/pmq20/ruby-china/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmq20/ruby-china/merges","archive_url":"https://api.github.com/repos/pmq20/ruby-china/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmq20/ruby-china/downloads","issues_url":"https://api.github.com/repos/pmq20/ruby-china/issues{/number}","pulls_url":"https://api.github.com/repos/pmq20/ruby-china/pulls{/number}","milestones_url":"https://api.github.com/repos/pmq20/ruby-china/milestones{/number}","notifications_url":"https://api.github.com/repos/pmq20/ruby-china/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmq20/ruby-china/labels{/name}","releases_url":"https://api.github.com/repos/pmq20/ruby-china/releases{/id}","created_at":"2014-04-09T08:03:18Z","updated_at":"2014-07-03T04:28:34Z","pushed_at":"2014-07-03T08:07:24Z","git_url":"git://github.com/pmq20/ruby-china.git","ssh_url":"git@github.com:pmq20/ruby-china.git","clone_url":"https://github.com/pmq20/ruby-china.git","svn_url":"https://github.com/pmq20/ruby-china","homepage":"http://ruby-china.org","size":22732,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ruby-china:master","ref":"master","sha":"e76b14c2de9d173f985b97db83f9a6e3bb1e9788","user":{"login":"ruby-china","id":1331033,"avatar_url":"https://avatars.githubusercontent.com/u/1331033?","gravatar_id":"cb7bc291caac1fc35fc01914f22bab9a","url":"https://api.github.com/users/ruby-china","html_url":"https://github.com/ruby-china","followers_url":"https://api.github.com/users/ruby-china/followers","following_url":"https://api.github.com/users/ruby-china/following{/other_user}","gists_url":"https://api.github.com/users/ruby-china/gists{/gist_id}","starred_url":"https://api.github.com/users/ruby-china/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruby-china/subscriptions","organizations_url":"https://api.github.com/users/ruby-china/orgs","repos_url":"https://api.github.com/users/ruby-china/repos","events_url":"https://api.github.com/users/ruby-china/events{/privacy}","received_events_url":"https://api.github.com/users/ruby-china/received_events","type":"Organization","site_admin":false},"repo":{"id":3842593,"name":"ruby-china","full_name":"ruby-china/ruby-china","owner":{"login":"ruby-china","id":1331033,"avatar_url":"https://avatars.githubusercontent.com/u/1331033?","gravatar_id":"cb7bc291caac1fc35fc01914f22bab9a","url":"https://api.github.com/users/ruby-china","html_url":"https://github.com/ruby-china","followers_url":"https://api.github.com/users/ruby-china/followers","following_url":"https://api.github.com/users/ruby-china/following{/other_user}","gists_url":"https://api.github.com/users/ruby-china/gists{/gist_id}","starred_url":"https://api.github.com/users/ruby-china/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruby-china/subscriptions","organizations_url":"https://api.github.com/users/ruby-china/orgs","repos_url":"https://api.github.com/users/ruby-china/repos","events_url":"https://api.github.com/users/ruby-china/events{/privacy}","received_events_url":"https://api.github.com/users/ruby-china/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ruby-china/ruby-china","description":"ruby-china.org website source code.","fork":true,"url":"https://api.github.com/repos/ruby-china/ruby-china","forks_url":"https://api.github.com/repos/ruby-china/ruby-china/forks","keys_url":"https://api.github.com/repos/ruby-china/ruby-china/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruby-china/ruby-china/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruby-china/ruby-china/teams","hooks_url":"https://api.github.com/repos/ruby-china/ruby-china/hooks","issue_events_url":"https://api.github.com/repos/ruby-china/ruby-china/issues/events{/number}","events_url":"https://api.github.com/repos/ruby-china/ruby-china/events","assignees_url":"https://api.github.com/repos/ruby-china/ruby-china/assignees{/user}","branches_url":"https://api.github.com/repos/ruby-china/ruby-china/branches{/branch}","tags_url":"https://api.github.com/repos/ruby-china/ruby-china/tags","blobs_url":"https://api.github.com/repos/ruby-china/ruby-china/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruby-china/ruby-china/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruby-china/ruby-china/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruby-china/ruby-china/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruby-china/ruby-china/statuses/{sha}","languages_url":"https://api.github.com/repos/ruby-china/ruby-china/languages","stargazers_url":"https://api.github.com/repos/ruby-china/ruby-china/stargazers","contributors_url":"https://api.github.com/repos/ruby-china/ruby-china/contributors","subscribers_url":"https://api.github.com/repos/ruby-china/ruby-china/subscribers","subscription_url":"https://api.github.com/repos/ruby-china/ruby-china/subscription","commits_url":"https://api.github.com/repos/ruby-china/ruby-china/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruby-china/ruby-china/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruby-china/ruby-china/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruby-china/ruby-china/issues/comments/{number}","contents_url":"https://api.github.com/repos/ruby-china/ruby-china/contents/{+path}","compare_url":"https://api.github.com/repos/ruby-china/ruby-china/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruby-china/ruby-china/merges","archive_url":"https://api.github.com/repos/ruby-china/ruby-china/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruby-china/ruby-china/downloads","issues_url":"https://api.github.com/repos/ruby-china/ruby-china/issues{/number}","pulls_url":"https://api.github.com/repos/ruby-china/ruby-china/pulls{/number}","milestones_url":"https://api.github.com/repos/ruby-china/ruby-china/milestones{/number}","notifications_url":"https://api.github.com/repos/ruby-china/ruby-china/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruby-china/ruby-china/labels{/name}","releases_url":"https://api.github.com/repos/ruby-china/ruby-china/releases{/id}","created_at":"2012-03-27T10:26:23Z","updated_at":"2014-07-02T05:17:14Z","pushed_at":"2014-06-27T02:16:48Z","git_url":"git://github.com/ruby-china/ruby-china.git","ssh_url":"git@github.com:ruby-china/ruby-china.git","clone_url":"https://github.com/ruby-china/ruby-china.git","svn_url":"https://github.com/ruby-china/ruby-china","homepage":"http://ruby-china.org","size":25780,"stargazers_count":1012,"watchers_count":1012,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":507,"mirror_url":null,"open_issues_count":26,"forks":507,"open_issues":26,"watchers":1012,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323"},"html":{"href":"https://github.com/ruby-china/ruby-china/pull/323"},"issue":{"href":"https://api.github.com/repos/ruby-china/ruby-china/issues/323"},"comments":{"href":"https://api.github.com/repos/ruby-china/ruby-china/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/ruby-china/ruby-china/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ruby-china/ruby-china/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/ruby-china/ruby-china/statuses/fe693f379549346b87139564fe562af62af32787"}}}}