{"action":"created","comment":{"url":"https://api.github.com/repos/MattRooney/GnarPow/pulls/comments/44861899","id":44861899,"diff_hunk":"@@ -21,89 +20,89 @@ def teardown\n end\n module CategoryItemsSetup\n   def create_categories_and_items\n-    @category     = Category.create(title: \"Snowboards\")\n-    @category_two = Category.create(title: \"Apparel\")\n+    @category     = Category.create(title: 'Snowboards')\n+    @category_two = Category.create(title: 'Apparel')\n \n-    Item.create(name: \"gnar possum\",\n-                description: \"a snowboard for shredding gnar pow\",\n+    Item.create(name: 'gnar possum',\n+                description: 'a snowboard for shredding gnar pow',\n                 price: 1000,\n                 category_id: @category.id)\n-    Item.create(name: \"gwar possum\",\n-                description: \"a snowboard for gwar concerts\",\n+    Item.create(name: 'gwar possum',\n+                description: 'a snowboard for gwar concerts',\n                 price: 15,\n                 category_id: @category.id)\n-    Item.create(name: \"Sweet Jacket\",\n-                description: \"Keeps you warm\",\n+    Item.create(name: 'Sweet Jacket',\n+                description: 'Keeps you warm',\n                 price: 240,\n                 category_id: @category_two.id)\n-    Item.create(name: \"Hoody\",\n-                description: \"Keeps you slightly warm\",\n+    Item.create(name: 'Hoody',\n+                description: 'Keeps you slightly warm',\n                 price: 80,\n                 category_id: @category_two.id)\n   end\n \n   def create_items\n-    Item.create(name: \"gnar possum\",\n-                description: \"a snowboard for shredding gnar pow\",\n+    Item.create(name: 'gnar possum',\n+                description: 'a snowboard for shredding gnar pow',\n                 price: 1000)\n-    Item.create(name: \"gwar possum\",\n-                description: \"a snowboard for gwar concerts\",\n+    Item.create(name: 'gwar possum',\n+                description: 'a snowboard for gwar concerts',\n                 price: 15)\n   end\n \n   def create_items_and_order\n-    @category     = Category.create(title: \"Snowboards\")\n-    @category_two = Category.create(title: \"Apparel\")\n-    item_1 = Item.create(name: \"gnar possum\",\n-                description: \"a snowboard for shredding gnar pow\",\n-                price: 1000,\n-                category_id: @category.id)\n-    item_2 = Item.create(name: \"gwar possum\",\n-                description: \"a snowboard for gwar concerts\",\n-                price: 15,\n-                category_id: @category.id)\n-    item_3 = Item.create(name: \"Hoody\",\n-                description: \"Keeps you slightly warm\",\n-                price: 80,\n-                category_id: @category_two.id)\n-    Order.create(current_status: \"completed\")\n+    @category     = Category.create(title: 'Snowboards')\n+    @category_two = Category.create(title: 'Apparel')\n+    item_1 = Item.create(name: 'gnar possum',\n+                         description: 'a snowboard for shredding gnar pow',\n+                         price: 1000,\n+                         category_id: @category.id)\n+    item_2 = Item.create(name: 'gwar possum',\n+                         description: 'a snowboard for gwar concerts',\n+                         price: 15,\n+                         category_id: @category.id)\n+    item_3 = Item.create(name: 'Hoody',\n+                         description: 'Keeps you slightly warm',\n+                         price: 80,\n+                         category_id: @category_two.id)\n+    Order.create(current_status: 'completed')\n   end\n \n   def create_user\n-    User.create(username: \"Matt\", password: \"gnargnar\")\n+    User.create(username: 'Matt', password: 'gnargnar')\n   end\n \n   def login_a_user\n     create_user\n     visit login_path\n \n-    within(\".login_form\") do\n-      fill_in \"Username\", with: \"Matt\"\n-      fill_in \"Password\", with: \"gnargnar\"\n-      click_button \"Login\"\n+    within('.login_form') do\n+      fill_in 'Username', with: 'Matt'\n+      fill_in 'Password', with: 'gnargnar'\n+      click_button 'Login'\n     end\n   end\n \n   def add_items_to_cart\n-    item_1 = Item.create(name: \"gnar possum\",\n-                         description: \"a snowboard for shredding gnar pow\",\n+    item_1 = Item.create(name: 'gnar possum',\n+                         description: 'a snowboard for shredding gnar pow',\n                          price: 1000)\n-    item_2 = Item.create(name: \"gnar possum\",\n-                         description: \"a snowboard for shredding gnar pow\",\n+    item_2 = Item.create(name: 'gnar possum',\n+                         description: 'a snowboard for shredding gnar pow',\n                          price: 1000)\n-    item_3 = Item.create(name: \"Sweet Jacket\",\n-                         description: \"Keeps you warm\",\n+    item_3 = Item.create(name: 'Sweet Jacket',\n+                         description: 'Keeps you warm',","path":"test/test_helper.rb","position":123,"original_position":123,"commit_id":"ab7f91489ab0e7b321ab8d9f9ab2ac7a7718f77c","original_commit_id":"ab7f91489ab0e7b321ab8d9f9ab2ac7a7718f77c","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-14T18:41:01Z","updated_at":"2015-11-14T18:41:01Z","html_url":"https://github.com/MattRooney/GnarPow/pull/46#discussion_r44861899","pull_request_url":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/MattRooney/GnarPow/pulls/comments/44861899"},"html":{"href":"https://github.com/MattRooney/GnarPow/pull/46#discussion_r44861899"},"pull_request":{"href":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46","id":50729169,"html_url":"https://github.com/MattRooney/GnarPow/pull/46","diff_url":"https://github.com/MattRooney/GnarPow/pull/46.diff","patch_url":"https://github.com/MattRooney/GnarPow/pull/46.patch","issue_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/46","number":46,"state":"open","locked":false,"title":"implement rubocop","user":{"login":"MattRooney","id":11494414,"avatar_url":"https://avatars.githubusercontent.com/u/11494414?v=3","gravatar_id":"","url":"https://api.github.com/users/MattRooney","html_url":"https://github.com/MattRooney","followers_url":"https://api.github.com/users/MattRooney/followers","following_url":"https://api.github.com/users/MattRooney/following{/other_user}","gists_url":"https://api.github.com/users/MattRooney/gists{/gist_id}","starred_url":"https://api.github.com/users/MattRooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattRooney/subscriptions","organizations_url":"https://api.github.com/users/MattRooney/orgs","repos_url":"https://api.github.com/users/MattRooney/repos","events_url":"https://api.github.com/users/MattRooney/events{/privacy}","received_events_url":"https://api.github.com/users/MattRooney/received_events","type":"User","site_admin":false},"body":"- test rubocop autocorrect\r\n- seems to have a lot of differences from hound\r\n- will create pull request to test hound's response","created_at":"2015-11-14T18:40:38Z","updated_at":"2015-11-14T18:41:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"287856e03b0be3cef6cb243885b0a4d7d9839824","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46/commits","review_comments_url":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46/comments","review_comment_url":"https://api.github.com/repos/MattRooney/GnarPow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/46/comments","statuses_url":"https://api.github.com/repos/MattRooney/GnarPow/statuses/ab7f91489ab0e7b321ab8d9f9ab2ac7a7718f77c","head":{"label":"MattRooney:implement-rubocop","ref":"implement-rubocop","sha":"ab7f91489ab0e7b321ab8d9f9ab2ac7a7718f77c","user":{"login":"MattRooney","id":11494414,"avatar_url":"https://avatars.githubusercontent.com/u/11494414?v=3","gravatar_id":"","url":"https://api.github.com/users/MattRooney","html_url":"https://github.com/MattRooney","followers_url":"https://api.github.com/users/MattRooney/followers","following_url":"https://api.github.com/users/MattRooney/following{/other_user}","gists_url":"https://api.github.com/users/MattRooney/gists{/gist_id}","starred_url":"https://api.github.com/users/MattRooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattRooney/subscriptions","organizations_url":"https://api.github.com/users/MattRooney/orgs","repos_url":"https://api.github.com/users/MattRooney/repos","events_url":"https://api.github.com/users/MattRooney/events{/privacy}","received_events_url":"https://api.github.com/users/MattRooney/received_events","type":"User","site_admin":false},"repo":{"id":45856045,"name":"GnarPow","full_name":"MattRooney/GnarPow","owner":{"login":"MattRooney","id":11494414,"avatar_url":"https://avatars.githubusercontent.com/u/11494414?v=3","gravatar_id":"","url":"https://api.github.com/users/MattRooney","html_url":"https://github.com/MattRooney","followers_url":"https://api.github.com/users/MattRooney/followers","following_url":"https://api.github.com/users/MattRooney/following{/other_user}","gists_url":"https://api.github.com/users/MattRooney/gists{/gist_id}","starred_url":"https://api.github.com/users/MattRooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattRooney/subscriptions","organizations_url":"https://api.github.com/users/MattRooney/orgs","repos_url":"https://api.github.com/users/MattRooney/repos","events_url":"https://api.github.com/users/MattRooney/events{/privacy}","received_events_url":"https://api.github.com/users/MattRooney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MattRooney/GnarPow","description":"","fork":false,"url":"https://api.github.com/repos/MattRooney/GnarPow","forks_url":"https://api.github.com/repos/MattRooney/GnarPow/forks","keys_url":"https://api.github.com/repos/MattRooney/GnarPow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MattRooney/GnarPow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MattRooney/GnarPow/teams","hooks_url":"https://api.github.com/repos/MattRooney/GnarPow/hooks","issue_events_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/events{/number}","events_url":"https://api.github.com/repos/MattRooney/GnarPow/events","assignees_url":"https://api.github.com/repos/MattRooney/GnarPow/assignees{/user}","branches_url":"https://api.github.com/repos/MattRooney/GnarPow/branches{/branch}","tags_url":"https://api.github.com/repos/MattRooney/GnarPow/tags","blobs_url":"https://api.github.com/repos/MattRooney/GnarPow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MattRooney/GnarPow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MattRooney/GnarPow/git/refs{/sha}","trees_url":"https://api.github.com/repos/MattRooney/GnarPow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MattRooney/GnarPow/statuses/{sha}","languages_url":"https://api.github.com/repos/MattRooney/GnarPow/languages","stargazers_url":"https://api.github.com/repos/MattRooney/GnarPow/stargazers","contributors_url":"https://api.github.com/repos/MattRooney/GnarPow/contributors","subscribers_url":"https://api.github.com/repos/MattRooney/GnarPow/subscribers","subscription_url":"https://api.github.com/repos/MattRooney/GnarPow/subscription","commits_url":"https://api.github.com/repos/MattRooney/GnarPow/commits{/sha}","git_commits_url":"https://api.github.com/repos/MattRooney/GnarPow/git/commits{/sha}","comments_url":"https://api.github.com/repos/MattRooney/GnarPow/comments{/number}","issue_comment_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/comments{/number}","contents_url":"https://api.github.com/repos/MattRooney/GnarPow/contents/{+path}","compare_url":"https://api.github.com/repos/MattRooney/GnarPow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MattRooney/GnarPow/merges","archive_url":"https://api.github.com/repos/MattRooney/GnarPow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MattRooney/GnarPow/downloads","issues_url":"https://api.github.com/repos/MattRooney/GnarPow/issues{/number}","pulls_url":"https://api.github.com/repos/MattRooney/GnarPow/pulls{/number}","milestones_url":"https://api.github.com/repos/MattRooney/GnarPow/milestones{/number}","notifications_url":"https://api.github.com/repos/MattRooney/GnarPow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MattRooney/GnarPow/labels{/name}","releases_url":"https://api.github.com/repos/MattRooney/GnarPow/releases{/id}","created_at":"2015-11-09T17:55:11Z","updated_at":"2015-11-12T01:56:13Z","pushed_at":"2015-11-14T18:40:38Z","git_url":"git://github.com/MattRooney/GnarPow.git","ssh_url":"git@github.com:MattRooney/GnarPow.git","clone_url":"https://github.com/MattRooney/GnarPow.git","svn_url":"https://github.com/MattRooney/GnarPow","homepage":null,"size":936,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"master"}},"base":{"label":"MattRooney:master","ref":"master","sha":"92a45bebf663aa989c5bd2587bf5b451e4350cad","user":{"login":"MattRooney","id":11494414,"avatar_url":"https://avatars.githubusercontent.com/u/11494414?v=3","gravatar_id":"","url":"https://api.github.com/users/MattRooney","html_url":"https://github.com/MattRooney","followers_url":"https://api.github.com/users/MattRooney/followers","following_url":"https://api.github.com/users/MattRooney/following{/other_user}","gists_url":"https://api.github.com/users/MattRooney/gists{/gist_id}","starred_url":"https://api.github.com/users/MattRooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattRooney/subscriptions","organizations_url":"https://api.github.com/users/MattRooney/orgs","repos_url":"https://api.github.com/users/MattRooney/repos","events_url":"https://api.github.com/users/MattRooney/events{/privacy}","received_events_url":"https://api.github.com/users/MattRooney/received_events","type":"User","site_admin":false},"repo":{"id":45856045,"name":"GnarPow","full_name":"MattRooney/GnarPow","owner":{"login":"MattRooney","id":11494414,"avatar_url":"https://avatars.githubusercontent.com/u/11494414?v=3","gravatar_id":"","url":"https://api.github.com/users/MattRooney","html_url":"https://github.com/MattRooney","followers_url":"https://api.github.com/users/MattRooney/followers","following_url":"https://api.github.com/users/MattRooney/following{/other_user}","gists_url":"https://api.github.com/users/MattRooney/gists{/gist_id}","starred_url":"https://api.github.com/users/MattRooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattRooney/subscriptions","organizations_url":"https://api.github.com/users/MattRooney/orgs","repos_url":"https://api.github.com/users/MattRooney/repos","events_url":"https://api.github.com/users/MattRooney/events{/privacy}","received_events_url":"https://api.github.com/users/MattRooney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MattRooney/GnarPow","description":"","fork":false,"url":"https://api.github.com/repos/MattRooney/GnarPow","forks_url":"https://api.github.com/repos/MattRooney/GnarPow/forks","keys_url":"https://api.github.com/repos/MattRooney/GnarPow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MattRooney/GnarPow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MattRooney/GnarPow/teams","hooks_url":"https://api.github.com/repos/MattRooney/GnarPow/hooks","issue_events_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/events{/number}","events_url":"https://api.github.com/repos/MattRooney/GnarPow/events","assignees_url":"https://api.github.com/repos/MattRooney/GnarPow/assignees{/user}","branches_url":"https://api.github.com/repos/MattRooney/GnarPow/branches{/branch}","tags_url":"https://api.github.com/repos/MattRooney/GnarPow/tags","blobs_url":"https://api.github.com/repos/MattRooney/GnarPow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MattRooney/GnarPow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MattRooney/GnarPow/git/refs{/sha}","trees_url":"https://api.github.com/repos/MattRooney/GnarPow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MattRooney/GnarPow/statuses/{sha}","languages_url":"https://api.github.com/repos/MattRooney/GnarPow/languages","stargazers_url":"https://api.github.com/repos/MattRooney/GnarPow/stargazers","contributors_url":"https://api.github.com/repos/MattRooney/GnarPow/contributors","subscribers_url":"https://api.github.com/repos/MattRooney/GnarPow/subscribers","subscription_url":"https://api.github.com/repos/MattRooney/GnarPow/subscription","commits_url":"https://api.github.com/repos/MattRooney/GnarPow/commits{/sha}","git_commits_url":"https://api.github.com/repos/MattRooney/GnarPow/git/commits{/sha}","comments_url":"https://api.github.com/repos/MattRooney/GnarPow/comments{/number}","issue_comment_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/comments{/number}","contents_url":"https://api.github.com/repos/MattRooney/GnarPow/contents/{+path}","compare_url":"https://api.github.com/repos/MattRooney/GnarPow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MattRooney/GnarPow/merges","archive_url":"https://api.github.com/repos/MattRooney/GnarPow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MattRooney/GnarPow/downloads","issues_url":"https://api.github.com/repos/MattRooney/GnarPow/issues{/number}","pulls_url":"https://api.github.com/repos/MattRooney/GnarPow/pulls{/number}","milestones_url":"https://api.github.com/repos/MattRooney/GnarPow/milestones{/number}","notifications_url":"https://api.github.com/repos/MattRooney/GnarPow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MattRooney/GnarPow/labels{/name}","releases_url":"https://api.github.com/repos/MattRooney/GnarPow/releases{/id}","created_at":"2015-11-09T17:55:11Z","updated_at":"2015-11-12T01:56:13Z","pushed_at":"2015-11-14T18:40:38Z","git_url":"git://github.com/MattRooney/GnarPow.git","ssh_url":"git@github.com:MattRooney/GnarPow.git","clone_url":"https://github.com/MattRooney/GnarPow.git","svn_url":"https://github.com/MattRooney/GnarPow","homepage":null,"size":936,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46"},"html":{"href":"https://github.com/MattRooney/GnarPow/pull/46"},"issue":{"href":"https://api.github.com/repos/MattRooney/GnarPow/issues/46"},"comments":{"href":"https://api.github.com/repos/MattRooney/GnarPow/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/MattRooney/GnarPow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MattRooney/GnarPow/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/MattRooney/GnarPow/statuses/ab7f91489ab0e7b321ab8d9f9ab2ac7a7718f77c"}}}}