{"action":"created","comment":{"url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/comments/102210782","pull_request_review_id":22959265,"id":102210782,"diff_hunk":"@@ -0,0 +1,30 @@\n+require_relative '../test_helper'\n+require 'hammer_cli_katello/sync_plan'\n+\n+module HammerCLIKatello\n+  describe SyncPlan::ListCommand do\n+    it 'allows minimal options' do\n+      api_expects(:sync_plans, :index) { |p| p['organization_id'] == 1 }","path":"test/functional/sync_plan/list_test.rb","position":7,"original_position":7,"commit_id":"83df58526d74cafc8394365daa3830294b57c57c","original_commit_id":"83df58526d74cafc8394365daa3830294b57c57c","user":{"login":"akofink","id":761923,"avatar_url":"https://avatars.githubusercontent.com/u/761923?v=3","gravatar_id":"","url":"https://api.github.com/users/akofink","html_url":"https://github.com/akofink","followers_url":"https://api.github.com/users/akofink/followers","following_url":"https://api.github.com/users/akofink/following{/other_user}","gists_url":"https://api.github.com/users/akofink/gists{/gist_id}","starred_url":"https://api.github.com/users/akofink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akofink/subscriptions","organizations_url":"https://api.github.com/users/akofink/orgs","repos_url":"https://api.github.com/users/akofink/repos","events_url":"https://api.github.com/users/akofink/events{/privacy}","received_events_url":"https://api.github.com/users/akofink/received_events","type":"User","site_admin":false},"body":"You can use SyncPlanHelpers here https://github.com/Katello/hammer-cli-katello/blob/master/test/functional/sync_plan/sync_plan_helpers.rb","created_at":"2017-02-21T13:53:40Z","updated_at":"2017-02-21T13:53:40Z","html_url":"https://github.com/Katello/hammer-cli-katello/pull/477#discussion_r102210782","pull_request_url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477","_links":{"self":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/comments/102210782"},"html":{"href":"https://github.com/Katello/hammer-cli-katello/pull/477#discussion_r102210782"},"pull_request":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477"}}},"pull_request":{"url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477","id":105043863,"html_url":"https://github.com/Katello/hammer-cli-katello/pull/477","diff_url":"https://github.com/Katello/hammer-cli-katello/pull/477.diff","patch_url":"https://github.com/Katello/hammer-cli-katello/pull/477.patch","issue_url":"https://api.github.com/repos/Katello/hammer-cli-katello/issues/477","number":477,"state":"open","locked":false,"title":"Fixes #17155 - Add products to sync plan info","user":{"login":"chris1984","id":1518655,"avatar_url":"https://avatars.githubusercontent.com/u/1518655?v=3","gravatar_id":"","url":"https://api.github.com/users/chris1984","html_url":"https://github.com/chris1984","followers_url":"https://api.github.com/users/chris1984/followers","following_url":"https://api.github.com/users/chris1984/following{/other_user}","gists_url":"https://api.github.com/users/chris1984/gists{/gist_id}","starred_url":"https://api.github.com/users/chris1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris1984/subscriptions","organizations_url":"https://api.github.com/users/chris1984/orgs","repos_url":"https://api.github.com/users/chris1984/repos","events_url":"https://api.github.com/users/chris1984/events{/privacy}","received_events_url":"https://api.github.com/users/chris1984/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-07T16:38:01Z","updated_at":"2017-02-21T13:53:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1fa3bf2e8aefa9573c46a2f023922a27452aed3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477/commits","review_comments_url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477/comments","review_comment_url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Katello/hammer-cli-katello/issues/477/comments","statuses_url":"https://api.github.com/repos/Katello/hammer-cli-katello/statuses/83df58526d74cafc8394365daa3830294b57c57c","head":{"label":"chris1984:1390545","ref":"1390545","sha":"83df58526d74cafc8394365daa3830294b57c57c","user":{"login":"chris1984","id":1518655,"avatar_url":"https://avatars.githubusercontent.com/u/1518655?v=3","gravatar_id":"","url":"https://api.github.com/users/chris1984","html_url":"https://github.com/chris1984","followers_url":"https://api.github.com/users/chris1984/followers","following_url":"https://api.github.com/users/chris1984/following{/other_user}","gists_url":"https://api.github.com/users/chris1984/gists{/gist_id}","starred_url":"https://api.github.com/users/chris1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris1984/subscriptions","organizations_url":"https://api.github.com/users/chris1984/orgs","repos_url":"https://api.github.com/users/chris1984/repos","events_url":"https://api.github.com/users/chris1984/events{/privacy}","received_events_url":"https://api.github.com/users/chris1984/received_events","type":"User","site_admin":false},"repo":{"id":81123435,"name":"hammer-cli-katello","full_name":"chris1984/hammer-cli-katello","owner":{"login":"chris1984","id":1518655,"avatar_url":"https://avatars.githubusercontent.com/u/1518655?v=3","gravatar_id":"","url":"https://api.github.com/users/chris1984","html_url":"https://github.com/chris1984","followers_url":"https://api.github.com/users/chris1984/followers","following_url":"https://api.github.com/users/chris1984/following{/other_user}","gists_url":"https://api.github.com/users/chris1984/gists{/gist_id}","starred_url":"https://api.github.com/users/chris1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris1984/subscriptions","organizations_url":"https://api.github.com/users/chris1984/orgs","repos_url":"https://api.github.com/users/chris1984/repos","events_url":"https://api.github.com/users/chris1984/events{/privacy}","received_events_url":"https://api.github.com/users/chris1984/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chris1984/hammer-cli-katello","description":"Next-gen CLI tool for Katello (Katello-specific commands)","fork":true,"url":"https://api.github.com/repos/chris1984/hammer-cli-katello","forks_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/forks","keys_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/teams","hooks_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/hooks","issue_events_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/issues/events{/number}","events_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/events","assignees_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/assignees{/user}","branches_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/branches{/branch}","tags_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/tags","blobs_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/statuses/{sha}","languages_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/languages","stargazers_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/stargazers","contributors_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/contributors","subscribers_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/subscribers","subscription_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/subscription","commits_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/contents/{+path}","compare_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/merges","archive_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/downloads","issues_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/issues{/number}","pulls_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/pulls{/number}","milestones_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/milestones{/number}","notifications_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/labels{/name}","releases_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/releases{/id}","deployments_url":"https://api.github.com/repos/chris1984/hammer-cli-katello/deployments","created_at":"2017-02-06T19:28:03Z","updated_at":"2017-02-06T19:28:05Z","pushed_at":"2017-02-09T17:38:09Z","git_url":"git://github.com/chris1984/hammer-cli-katello.git","ssh_url":"git@github.com:chris1984/hammer-cli-katello.git","clone_url":"https://github.com/chris1984/hammer-cli-katello.git","svn_url":"https://github.com/chris1984/hammer-cli-katello","homepage":null,"size":947,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Katello:master","ref":"master","sha":"f6d7bb23c56e8d135313cb0f88dcf2d7adb6c295","user":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"repo":{"id":13653550,"name":"hammer-cli-katello","full_name":"Katello/hammer-cli-katello","owner":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Katello/hammer-cli-katello","description":"Next-gen CLI tool for Katello (Katello-specific commands)","fork":false,"url":"https://api.github.com/repos/Katello/hammer-cli-katello","forks_url":"https://api.github.com/repos/Katello/hammer-cli-katello/forks","keys_url":"https://api.github.com/repos/Katello/hammer-cli-katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Katello/hammer-cli-katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Katello/hammer-cli-katello/teams","hooks_url":"https://api.github.com/repos/Katello/hammer-cli-katello/hooks","issue_events_url":"https://api.github.com/repos/Katello/hammer-cli-katello/issues/events{/number}","events_url":"https://api.github.com/repos/Katello/hammer-cli-katello/events","assignees_url":"https://api.github.com/repos/Katello/hammer-cli-katello/assignees{/user}","branches_url":"https://api.github.com/repos/Katello/hammer-cli-katello/branches{/branch}","tags_url":"https://api.github.com/repos/Katello/hammer-cli-katello/tags","blobs_url":"https://api.github.com/repos/Katello/hammer-cli-katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Katello/hammer-cli-katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Katello/hammer-cli-katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/Katello/hammer-cli-katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Katello/hammer-cli-katello/statuses/{sha}","languages_url":"https://api.github.com/repos/Katello/hammer-cli-katello/languages","stargazers_url":"https://api.github.com/repos/Katello/hammer-cli-katello/stargazers","contributors_url":"https://api.github.com/repos/Katello/hammer-cli-katello/contributors","subscribers_url":"https://api.github.com/repos/Katello/hammer-cli-katello/subscribers","subscription_url":"https://api.github.com/repos/Katello/hammer-cli-katello/subscription","commits_url":"https://api.github.com/repos/Katello/hammer-cli-katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/Katello/hammer-cli-katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/Katello/hammer-cli-katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/Katello/hammer-cli-katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/Katello/hammer-cli-katello/contents/{+path}","compare_url":"https://api.github.com/repos/Katello/hammer-cli-katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Katello/hammer-cli-katello/merges","archive_url":"https://api.github.com/repos/Katello/hammer-cli-katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Katello/hammer-cli-katello/downloads","issues_url":"https://api.github.com/repos/Katello/hammer-cli-katello/issues{/number}","pulls_url":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls{/number}","milestones_url":"https://api.github.com/repos/Katello/hammer-cli-katello/milestones{/number}","notifications_url":"https://api.github.com/repos/Katello/hammer-cli-katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Katello/hammer-cli-katello/labels{/name}","releases_url":"https://api.github.com/repos/Katello/hammer-cli-katello/releases{/id}","deployments_url":"https://api.github.com/repos/Katello/hammer-cli-katello/deployments","created_at":"2013-10-17T15:46:45Z","updated_at":"2017-01-13T03:39:57Z","pushed_at":"2017-02-21T13:47:42Z","git_url":"git://github.com/Katello/hammer-cli-katello.git","ssh_url":"git@github.com:Katello/hammer-cli-katello.git","clone_url":"https://github.com/Katello/hammer-cli-katello.git","svn_url":"https://github.com/Katello/hammer-cli-katello","homepage":null,"size":955,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":7,"forks":42,"open_issues":7,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477"},"html":{"href":"https://github.com/Katello/hammer-cli-katello/pull/477"},"issue":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/issues/477"},"comments":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/issues/477/comments"},"review_comments":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477/comments"},"review_comment":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/pulls/477/commits"},"statuses":{"href":"https://api.github.com/repos/Katello/hammer-cli-katello/statuses/83df58526d74cafc8394365daa3830294b57c57c"}}}}
{"actor":{"display_login":"akofink"}}