{"action":"created","comment":{"url":"https://api.github.com/repos/HParker/horizon/pulls/comments/40510692","id":40510692,"diff_hunk":"@@ -1,11 +1,10 @@\n require 'spec_helper'\n \n-describe Page do\n-  after(:each) { Page.destroy_all }\n+RSpec.describe Page do\n   it 'must have a unique name' do\n     expect(Page.new).to be_invalid\n-    expect(Page.new({name: \"Sports\"})).to be_valid\n-    Page.create!({name: \"Sports\"})\n+    expect(Page.new({name: 'Sports'})).to be_valid\n+    Page.create!({name: 'Sports'})","path":"spec/models/page_spec.rb","position":11,"original_position":11,"commit_id":"f8494c2a66d65af1c6f37b5c374f9dba716b5b4d","original_commit_id":"f8494c2a66d65af1c6f37b5c374f9dba716b5b4d","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":"Redundant curly braces around a hash parameter.<br>Space inside { missing.<br>Space inside } missing.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-09-27T22:25:21Z","updated_at":"2015-09-27T22:25:21Z","html_url":"https://github.com/HParker/horizon/pull/25#discussion_r40510692","pull_request_url":"https://api.github.com/repos/HParker/horizon/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/HParker/horizon/pulls/comments/40510692"},"html":{"href":"https://github.com/HParker/horizon/pull/25#discussion_r40510692"},"pull_request":{"href":"https://api.github.com/repos/HParker/horizon/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/HParker/horizon/pulls/25","id":45569427,"html_url":"https://github.com/HParker/horizon/pull/25","diff_url":"https://github.com/HParker/horizon/pull/25.diff","patch_url":"https://github.com/HParker/horizon/pull/25.patch","issue_url":"https://api.github.com/repos/HParker/horizon/issues/25","number":25,"state":"open","locked":false,"title":"Improve test coverage","user":{"login":"HParker","id":4482399,"avatar_url":"https://avatars.githubusercontent.com/u/4482399?v=3","gravatar_id":"","url":"https://api.github.com/users/HParker","html_url":"https://github.com/HParker","followers_url":"https://api.github.com/users/HParker/followers","following_url":"https://api.github.com/users/HParker/following{/other_user}","gists_url":"https://api.github.com/users/HParker/gists{/gist_id}","starred_url":"https://api.github.com/users/HParker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HParker/subscriptions","organizations_url":"https://api.github.com/users/HParker/orgs","repos_url":"https://api.github.com/users/HParker/repos","events_url":"https://api.github.com/users/HParker/events{/privacy}","received_events_url":"https://api.github.com/users/HParker/received_events","type":"User","site_admin":false},"body":"@masonnl @CRiva starting creating factories and using them to test the controllers.\r\n\r\nMason: I could see these factories being useful in integration tests.","created_at":"2015-09-21T16:24:50Z","updated_at":"2015-09-27T22:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77fc6d21a398111b59eb5f23e5fbb7d54dc73814","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HParker/horizon/pulls/25/commits","review_comments_url":"https://api.github.com/repos/HParker/horizon/pulls/25/comments","review_comment_url":"https://api.github.com/repos/HParker/horizon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HParker/horizon/issues/25/comments","statuses_url":"https://api.github.com/repos/HParker/horizon/statuses/f8494c2a66d65af1c6f37b5c374f9dba716b5b4d","head":{"label":"HParker:coverage","ref":"coverage","sha":"f8494c2a66d65af1c6f37b5c374f9dba716b5b4d","user":{"login":"HParker","id":4482399,"avatar_url":"https://avatars.githubusercontent.com/u/4482399?v=3","gravatar_id":"","url":"https://api.github.com/users/HParker","html_url":"https://github.com/HParker","followers_url":"https://api.github.com/users/HParker/followers","following_url":"https://api.github.com/users/HParker/following{/other_user}","gists_url":"https://api.github.com/users/HParker/gists{/gist_id}","starred_url":"https://api.github.com/users/HParker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HParker/subscriptions","organizations_url":"https://api.github.com/users/HParker/orgs","repos_url":"https://api.github.com/users/HParker/repos","events_url":"https://api.github.com/users/HParker/events{/privacy}","received_events_url":"https://api.github.com/users/HParker/received_events","type":"User","site_admin":false},"repo":{"id":12059860,"name":"horizon","full_name":"HParker/horizon","owner":{"login":"HParker","id":4482399,"avatar_url":"https://avatars.githubusercontent.com/u/4482399?v=3","gravatar_id":"","url":"https://api.github.com/users/HParker","html_url":"https://github.com/HParker","followers_url":"https://api.github.com/users/HParker/followers","following_url":"https://api.github.com/users/HParker/following{/other_user}","gists_url":"https://api.github.com/users/HParker/gists{/gist_id}","starred_url":"https://api.github.com/users/HParker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HParker/subscriptions","organizations_url":"https://api.github.com/users/HParker/orgs","repos_url":"https://api.github.com/users/HParker/repos","events_url":"https://api.github.com/users/HParker/events{/privacy}","received_events_url":"https://api.github.com/users/HParker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HParker/horizon","description":"An open source news blog.","fork":false,"url":"https://api.github.com/repos/HParker/horizon","forks_url":"https://api.github.com/repos/HParker/horizon/forks","keys_url":"https://api.github.com/repos/HParker/horizon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HParker/horizon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HParker/horizon/teams","hooks_url":"https://api.github.com/repos/HParker/horizon/hooks","issue_events_url":"https://api.github.com/repos/HParker/horizon/issues/events{/number}","events_url":"https://api.github.com/repos/HParker/horizon/events","assignees_url":"https://api.github.com/repos/HParker/horizon/assignees{/user}","branches_url":"https://api.github.com/repos/HParker/horizon/branches{/branch}","tags_url":"https://api.github.com/repos/HParker/horizon/tags","blobs_url":"https://api.github.com/repos/HParker/horizon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HParker/horizon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HParker/horizon/git/refs{/sha}","trees_url":"https://api.github.com/repos/HParker/horizon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HParker/horizon/statuses/{sha}","languages_url":"https://api.github.com/repos/HParker/horizon/languages","stargazers_url":"https://api.github.com/repos/HParker/horizon/stargazers","contributors_url":"https://api.github.com/repos/HParker/horizon/contributors","subscribers_url":"https://api.github.com/repos/HParker/horizon/subscribers","subscription_url":"https://api.github.com/repos/HParker/horizon/subscription","commits_url":"https://api.github.com/repos/HParker/horizon/commits{/sha}","git_commits_url":"https://api.github.com/repos/HParker/horizon/git/commits{/sha}","comments_url":"https://api.github.com/repos/HParker/horizon/comments{/number}","issue_comment_url":"https://api.github.com/repos/HParker/horizon/issues/comments{/number}","contents_url":"https://api.github.com/repos/HParker/horizon/contents/{+path}","compare_url":"https://api.github.com/repos/HParker/horizon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HParker/horizon/merges","archive_url":"https://api.github.com/repos/HParker/horizon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HParker/horizon/downloads","issues_url":"https://api.github.com/repos/HParker/horizon/issues{/number}","pulls_url":"https://api.github.com/repos/HParker/horizon/pulls{/number}","milestones_url":"https://api.github.com/repos/HParker/horizon/milestones{/number}","notifications_url":"https://api.github.com/repos/HParker/horizon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HParker/horizon/labels{/name}","releases_url":"https://api.github.com/repos/HParker/horizon/releases{/id}","created_at":"2013-08-12T15:54:21Z","updated_at":"2015-09-25T20:37:36Z","pushed_at":"2015-09-27T22:25:10Z","git_url":"git://github.com/HParker/horizon.git","ssh_url":"git@github.com:HParker/horizon.git","clone_url":"https://github.com/HParker/horizon.git","svn_url":"https://github.com/HParker/horizon","homepage":null,"size":14144,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"HParker:master","ref":"master","sha":"540f9d5003c4c1f808d4124e1ea3982fef4a5672","user":{"login":"HParker","id":4482399,"avatar_url":"https://avatars.githubusercontent.com/u/4482399?v=3","gravatar_id":"","url":"https://api.github.com/users/HParker","html_url":"https://github.com/HParker","followers_url":"https://api.github.com/users/HParker/followers","following_url":"https://api.github.com/users/HParker/following{/other_user}","gists_url":"https://api.github.com/users/HParker/gists{/gist_id}","starred_url":"https://api.github.com/users/HParker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HParker/subscriptions","organizations_url":"https://api.github.com/users/HParker/orgs","repos_url":"https://api.github.com/users/HParker/repos","events_url":"https://api.github.com/users/HParker/events{/privacy}","received_events_url":"https://api.github.com/users/HParker/received_events","type":"User","site_admin":false},"repo":{"id":12059860,"name":"horizon","full_name":"HParker/horizon","owner":{"login":"HParker","id":4482399,"avatar_url":"https://avatars.githubusercontent.com/u/4482399?v=3","gravatar_id":"","url":"https://api.github.com/users/HParker","html_url":"https://github.com/HParker","followers_url":"https://api.github.com/users/HParker/followers","following_url":"https://api.github.com/users/HParker/following{/other_user}","gists_url":"https://api.github.com/users/HParker/gists{/gist_id}","starred_url":"https://api.github.com/users/HParker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HParker/subscriptions","organizations_url":"https://api.github.com/users/HParker/orgs","repos_url":"https://api.github.com/users/HParker/repos","events_url":"https://api.github.com/users/HParker/events{/privacy}","received_events_url":"https://api.github.com/users/HParker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HParker/horizon","description":"An open source news blog.","fork":false,"url":"https://api.github.com/repos/HParker/horizon","forks_url":"https://api.github.com/repos/HParker/horizon/forks","keys_url":"https://api.github.com/repos/HParker/horizon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HParker/horizon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HParker/horizon/teams","hooks_url":"https://api.github.com/repos/HParker/horizon/hooks","issue_events_url":"https://api.github.com/repos/HParker/horizon/issues/events{/number}","events_url":"https://api.github.com/repos/HParker/horizon/events","assignees_url":"https://api.github.com/repos/HParker/horizon/assignees{/user}","branches_url":"https://api.github.com/repos/HParker/horizon/branches{/branch}","tags_url":"https://api.github.com/repos/HParker/horizon/tags","blobs_url":"https://api.github.com/repos/HParker/horizon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HParker/horizon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HParker/horizon/git/refs{/sha}","trees_url":"https://api.github.com/repos/HParker/horizon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HParker/horizon/statuses/{sha}","languages_url":"https://api.github.com/repos/HParker/horizon/languages","stargazers_url":"https://api.github.com/repos/HParker/horizon/stargazers","contributors_url":"https://api.github.com/repos/HParker/horizon/contributors","subscribers_url":"https://api.github.com/repos/HParker/horizon/subscribers","subscription_url":"https://api.github.com/repos/HParker/horizon/subscription","commits_url":"https://api.github.com/repos/HParker/horizon/commits{/sha}","git_commits_url":"https://api.github.com/repos/HParker/horizon/git/commits{/sha}","comments_url":"https://api.github.com/repos/HParker/horizon/comments{/number}","issue_comment_url":"https://api.github.com/repos/HParker/horizon/issues/comments{/number}","contents_url":"https://api.github.com/repos/HParker/horizon/contents/{+path}","compare_url":"https://api.github.com/repos/HParker/horizon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HParker/horizon/merges","archive_url":"https://api.github.com/repos/HParker/horizon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HParker/horizon/downloads","issues_url":"https://api.github.com/repos/HParker/horizon/issues{/number}","pulls_url":"https://api.github.com/repos/HParker/horizon/pulls{/number}","milestones_url":"https://api.github.com/repos/HParker/horizon/milestones{/number}","notifications_url":"https://api.github.com/repos/HParker/horizon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HParker/horizon/labels{/name}","releases_url":"https://api.github.com/repos/HParker/horizon/releases{/id}","created_at":"2013-08-12T15:54:21Z","updated_at":"2015-09-25T20:37:36Z","pushed_at":"2015-09-27T22:25:10Z","git_url":"git://github.com/HParker/horizon.git","ssh_url":"git@github.com:HParker/horizon.git","clone_url":"https://github.com/HParker/horizon.git","svn_url":"https://github.com/HParker/horizon","homepage":null,"size":14144,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HParker/horizon/pulls/25"},"html":{"href":"https://github.com/HParker/horizon/pull/25"},"issue":{"href":"https://api.github.com/repos/HParker/horizon/issues/25"},"comments":{"href":"https://api.github.com/repos/HParker/horizon/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/HParker/horizon/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/HParker/horizon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HParker/horizon/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/HParker/horizon/statuses/f8494c2a66d65af1c6f37b5c374f9dba716b5b4d"}}}}