{"action":"created","comment":{"url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/comments/22722468","id":22722468,"diff_hunk":"@@ -0,0 +1,20 @@\n+require 'rails_helper'\n+\n+feature 'User deletes import batch' do\n+  background { sign_in_as(user) }\n+\n+  given(:file) { build(:import_file) }\n+  given(:import_batch) { create(:import_batch, :upload => file) }\n+  given(:user) { create(:user, :confirmed) }\n+  ","path":"spec/features/user_deletes_import_batch_spec.rb","position":9,"original_position":9,"commit_id":"fc0f595d5d89eea02625ee5da18b05fd09ed4d61","original_commit_id":"fc0f595d5d89eea02625ee5da18b05fd09ed4d61","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":"Trailing whitespace detected.","created_at":"2015-01-09T15:47:35Z","updated_at":"2015-01-09T15:47:35Z","html_url":"https://github.com/westernmilling/smuggler-covalent/pull/9#discussion_r22722468","pull_request_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/comments/22722468"},"html":{"href":"https://github.com/westernmilling/smuggler-covalent/pull/9#discussion_r22722468"},"pull_request":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9","id":27068234,"html_url":"https://github.com/westernmilling/smuggler-covalent/pull/9","diff_url":"https://github.com/westernmilling/smuggler-covalent/pull/9.diff","patch_url":"https://github.com/westernmilling/smuggler-covalent/pull/9.patch","issue_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/9","number":9,"state":"open","locked":false,"title":"Process import batch","user":{"login":"josephbridgwaterrowe","id":1495123,"avatar_url":"https://avatars.githubusercontent.com/u/1495123?v=3","gravatar_id":"","url":"https://api.github.com/users/josephbridgwaterrowe","html_url":"https://github.com/josephbridgwaterrowe","followers_url":"https://api.github.com/users/josephbridgwaterrowe/followers","following_url":"https://api.github.com/users/josephbridgwaterrowe/following{/other_user}","gists_url":"https://api.github.com/users/josephbridgwaterrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/josephbridgwaterrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephbridgwaterrowe/subscriptions","organizations_url":"https://api.github.com/users/josephbridgwaterrowe/orgs","repos_url":"https://api.github.com/users/josephbridgwaterrowe/repos","events_url":"https://api.github.com/users/josephbridgwaterrowe/events{/privacy}","received_events_url":"https://api.github.com/users/josephbridgwaterrowe/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-08T23:13:19Z","updated_at":"2015-01-09T15:47:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b59c43f2f9f21ca09baacd1855f8014484d150a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9/commits","review_comments_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9/comments","review_comment_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/comments/{number}","comments_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/9/comments","statuses_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/statuses/fc0f595d5d89eea02625ee5da18b05fd09ed4d61","head":{"label":"westernmilling:process-import-batch","ref":"process-import-batch","sha":"fc0f595d5d89eea02625ee5da18b05fd09ed4d61","user":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"repo":{"id":27356584,"name":"smuggler-covalent","full_name":"westernmilling/smuggler-covalent","owner":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/westernmilling/smuggler-covalent","description":"App for translating purchase orders from CovalentWorks EDI","fork":false,"url":"https://api.github.com/repos/westernmilling/smuggler-covalent","forks_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/forks","keys_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/teams","hooks_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/hooks","issue_events_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/events{/number}","events_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/events","assignees_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/assignees{/user}","branches_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/branches{/branch}","tags_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/tags","blobs_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/refs{/sha}","trees_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/statuses/{sha}","languages_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/languages","stargazers_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/stargazers","contributors_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/contributors","subscribers_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/subscribers","subscription_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/subscription","commits_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/commits{/sha}","git_commits_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/commits{/sha}","comments_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/comments{/number}","issue_comment_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/comments/{number}","contents_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/contents/{+path}","compare_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/merges","archive_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/downloads","issues_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues{/number}","pulls_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls{/number}","milestones_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/milestones{/number}","notifications_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/labels{/name}","releases_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/releases{/id}","created_at":"2014-12-01T01:06:48Z","updated_at":"2014-12-13T16:07:28Z","pushed_at":"2015-01-09T15:47:15Z","git_url":"git://github.com/westernmilling/smuggler-covalent.git","ssh_url":"git@github.com:westernmilling/smuggler-covalent.git","clone_url":"https://github.com/westernmilling/smuggler-covalent.git","svn_url":"https://github.com/westernmilling/smuggler-covalent","homepage":"","size":420,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"westernmilling:master","ref":"master","sha":"4ed57c1db6ee1ca2261071b3dd598f4c67c5137a","user":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"repo":{"id":27356584,"name":"smuggler-covalent","full_name":"westernmilling/smuggler-covalent","owner":{"login":"westernmilling","id":9420369,"avatar_url":"https://avatars.githubusercontent.com/u/9420369?v=3","gravatar_id":"","url":"https://api.github.com/users/westernmilling","html_url":"https://github.com/westernmilling","followers_url":"https://api.github.com/users/westernmilling/followers","following_url":"https://api.github.com/users/westernmilling/following{/other_user}","gists_url":"https://api.github.com/users/westernmilling/gists{/gist_id}","starred_url":"https://api.github.com/users/westernmilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westernmilling/subscriptions","organizations_url":"https://api.github.com/users/westernmilling/orgs","repos_url":"https://api.github.com/users/westernmilling/repos","events_url":"https://api.github.com/users/westernmilling/events{/privacy}","received_events_url":"https://api.github.com/users/westernmilling/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/westernmilling/smuggler-covalent","description":"App for translating purchase orders from CovalentWorks EDI","fork":false,"url":"https://api.github.com/repos/westernmilling/smuggler-covalent","forks_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/forks","keys_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/teams","hooks_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/hooks","issue_events_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/events{/number}","events_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/events","assignees_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/assignees{/user}","branches_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/branches{/branch}","tags_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/tags","blobs_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/refs{/sha}","trees_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/statuses/{sha}","languages_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/languages","stargazers_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/stargazers","contributors_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/contributors","subscribers_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/subscribers","subscription_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/subscription","commits_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/commits{/sha}","git_commits_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/git/commits{/sha}","comments_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/comments{/number}","issue_comment_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/comments/{number}","contents_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/contents/{+path}","compare_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/merges","archive_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/downloads","issues_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues{/number}","pulls_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls{/number}","milestones_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/milestones{/number}","notifications_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/labels{/name}","releases_url":"https://api.github.com/repos/westernmilling/smuggler-covalent/releases{/id}","created_at":"2014-12-01T01:06:48Z","updated_at":"2014-12-13T16:07:28Z","pushed_at":"2015-01-09T15:47:15Z","git_url":"git://github.com/westernmilling/smuggler-covalent.git","ssh_url":"git@github.com:westernmilling/smuggler-covalent.git","clone_url":"https://github.com/westernmilling/smuggler-covalent.git","svn_url":"https://github.com/westernmilling/smuggler-covalent","homepage":"","size":420,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9"},"html":{"href":"https://github.com/westernmilling/smuggler-covalent/pull/9"},"issue":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/9"},"comments":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/westernmilling/smuggler-covalent/statuses/fc0f595d5d89eea02625ee5da18b05fd09ed4d61"}}}}