{"action":"created","comment":{"url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/comments/31432911","id":31432911,"diff_hunk":"@@ -0,0 +1,96 @@\n+require 'test_helper'\n+\n+class Api::JobsControllerTest < ActionController::TestCase\n+\n+  let(:user) { User.create!(email: 'test@prx.org', password: 'foobarpassword') }","path":"test/controllers/api/jobs_controller_test.rb","position":5,"original_position":5,"commit_id":"a1702f915c1bc92a4917a16bd1f617e136f1a00d","original_commit_id":"a1702f915c1bc92a4917a16bd1f617e136f1a00d","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-06-01T14:54:10Z","updated_at":"2015-06-01T14:54:10Z","html_url":"https://github.com/PRX/fixer.prx.org/pull/34#discussion_r31432911","pull_request_url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/comments/31432911"},"html":{"href":"https://github.com/PRX/fixer.prx.org/pull/34#discussion_r31432911"},"pull_request":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34","id":36636520,"html_url":"https://github.com/PRX/fixer.prx.org/pull/34","diff_url":"https://github.com/PRX/fixer.prx.org/pull/34.diff","patch_url":"https://github.com/PRX/fixer.prx.org/pull/34.patch","issue_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues/34","number":34,"state":"open","locked":false,"title":"Fix creating sequences posted from the api controller","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"body":"The main issue is more complex whitelisting of params\r\nShould fix #33 ","created_at":"2015-06-01T14:54:01Z","updated_at":"2015-06-01T14:54:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31d38ebd7185c9f2ec587e459df9f1e1eec064af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34/commits","review_comments_url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34/comments","review_comment_url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues/34/comments","statuses_url":"https://api.github.com/repos/PRX/fixer.prx.org/statuses/a1702f915c1bc92a4917a16bd1f617e136f1a00d","head":{"label":"PRX:fix/api_job_create","ref":"fix/api_job_create","sha":"a1702f915c1bc92a4917a16bd1f617e136f1a00d","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":29747841,"name":"fixer.prx.org","full_name":"PRX/fixer.prx.org","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/fixer.prx.org","description":"Media processing application.","fork":false,"url":"https://api.github.com/repos/PRX/fixer.prx.org","forks_url":"https://api.github.com/repos/PRX/fixer.prx.org/forks","keys_url":"https://api.github.com/repos/PRX/fixer.prx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/fixer.prx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/fixer.prx.org/teams","hooks_url":"https://api.github.com/repos/PRX/fixer.prx.org/hooks","issue_events_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/fixer.prx.org/events","assignees_url":"https://api.github.com/repos/PRX/fixer.prx.org/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/fixer.prx.org/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/fixer.prx.org/tags","blobs_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/fixer.prx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/fixer.prx.org/languages","stargazers_url":"https://api.github.com/repos/PRX/fixer.prx.org/stargazers","contributors_url":"https://api.github.com/repos/PRX/fixer.prx.org/contributors","subscribers_url":"https://api.github.com/repos/PRX/fixer.prx.org/subscribers","subscription_url":"https://api.github.com/repos/PRX/fixer.prx.org/subscription","commits_url":"https://api.github.com/repos/PRX/fixer.prx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/fixer.prx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/fixer.prx.org/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/fixer.prx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/fixer.prx.org/merges","archive_url":"https://api.github.com/repos/PRX/fixer.prx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/fixer.prx.org/downloads","issues_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/fixer.prx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/fixer.prx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/fixer.prx.org/labels{/name}","releases_url":"https://api.github.com/repos/PRX/fixer.prx.org/releases{/id}","created_at":"2015-01-23T18:58:41Z","updated_at":"2015-05-07T18:30:50Z","pushed_at":"2015-06-01T14:54:02Z","git_url":"git://github.com/PRX/fixer.prx.org.git","ssh_url":"git@github.com:PRX/fixer.prx.org.git","clone_url":"https://github.com/PRX/fixer.prx.org.git","svn_url":"https://github.com/PRX/fixer.prx.org","homepage":"","size":11101,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"PRX:master","ref":"master","sha":"c76d7561d1498d9968546777a325564b56ef0df4","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":29747841,"name":"fixer.prx.org","full_name":"PRX/fixer.prx.org","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/fixer.prx.org","description":"Media processing application.","fork":false,"url":"https://api.github.com/repos/PRX/fixer.prx.org","forks_url":"https://api.github.com/repos/PRX/fixer.prx.org/forks","keys_url":"https://api.github.com/repos/PRX/fixer.prx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/fixer.prx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/fixer.prx.org/teams","hooks_url":"https://api.github.com/repos/PRX/fixer.prx.org/hooks","issue_events_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/fixer.prx.org/events","assignees_url":"https://api.github.com/repos/PRX/fixer.prx.org/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/fixer.prx.org/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/fixer.prx.org/tags","blobs_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/fixer.prx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/fixer.prx.org/languages","stargazers_url":"https://api.github.com/repos/PRX/fixer.prx.org/stargazers","contributors_url":"https://api.github.com/repos/PRX/fixer.prx.org/contributors","subscribers_url":"https://api.github.com/repos/PRX/fixer.prx.org/subscribers","subscription_url":"https://api.github.com/repos/PRX/fixer.prx.org/subscription","commits_url":"https://api.github.com/repos/PRX/fixer.prx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/fixer.prx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/fixer.prx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/fixer.prx.org/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/fixer.prx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/fixer.prx.org/merges","archive_url":"https://api.github.com/repos/PRX/fixer.prx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/fixer.prx.org/downloads","issues_url":"https://api.github.com/repos/PRX/fixer.prx.org/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/fixer.prx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/fixer.prx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/fixer.prx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/fixer.prx.org/labels{/name}","releases_url":"https://api.github.com/repos/PRX/fixer.prx.org/releases{/id}","created_at":"2015-01-23T18:58:41Z","updated_at":"2015-05-07T18:30:50Z","pushed_at":"2015-06-01T14:54:02Z","git_url":"git://github.com/PRX/fixer.prx.org.git","ssh_url":"git@github.com:PRX/fixer.prx.org.git","clone_url":"https://github.com/PRX/fixer.prx.org.git","svn_url":"https://github.com/PRX/fixer.prx.org","homepage":"","size":11101,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34"},"html":{"href":"https://github.com/PRX/fixer.prx.org/pull/34"},"issue":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/issues/34"},"comments":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/PRX/fixer.prx.org/statuses/a1702f915c1bc92a4917a16bd1f617e136f1a00d"}}}}