{"action":"created","comment":{"url":"https://api.github.com/repos/yast/yast-yast2/pulls/comments/206846094","pull_request_review_id":142335995,"id":206846094,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjg0NjA5NA==","diff_hunk":"@@ -102,6 +102,28 @@\n     end\n   end\n \n+  describe \".build\" do\n+    let(:systemd_service) { instance_double(Yast::SystemdServiceClass::Service) }\n+\n+    it \"returns a systemd service even if it does not exist\" do\n+      expect(Yast::SystemdService).to receive(:build).with(\"other\")\n+        .and_return(systemd_service)\n+      system_service = described_class.build(\"other\")\n+      expect(system_service.service).to eq(systemd_service)\n+    end\n+  end\n+\n+  describe \".build\" do","path":"library/systemd/test/yast2/system_service_test.rb","position":15,"original_position":15,"commit_id":"26b42b6ce5d562ac6aeee4558dfc77937a819764","original_commit_id":"26b42b6ce5d562ac6aeee4558dfc77937a819764","user":{"login":"dgdavid","id":1691872,"node_id":"MDQ6VXNlcjE2OTE4NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1691872?v=4","gravatar_id":"","url":"https://api.github.com/users/dgdavid","html_url":"https://github.com/dgdavid","followers_url":"https://api.github.com/users/dgdavid/followers","following_url":"https://api.github.com/users/dgdavid/following{/other_user}","gists_url":"https://api.github.com/users/dgdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/dgdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgdavid/subscriptions","organizations_url":"https://api.github.com/users/dgdavid/orgs","repos_url":"https://api.github.com/users/dgdavid/repos","events_url":"https://api.github.com/users/dgdavid/events{/privacy}","received_events_url":"https://api.github.com/users/dgdavid/received_events","type":"User","site_admin":false},"body":"It seems to me that this `describe` is duplicated.","created_at":"2018-08-01T11:38:06Z","updated_at":"2018-08-01T11:40:04Z","html_url":"https://github.com/yast/yast-yast2/pull/785#discussion_r206846094","pull_request_url":"https://api.github.com/repos/yast/yast-yast2/pulls/785","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/yast/yast-yast2/pulls/comments/206846094"},"html":{"href":"https://github.com/yast/yast-yast2/pull/785#discussion_r206846094"},"pull_request":{"href":"https://api.github.com/repos/yast/yast-yast2/pulls/785"}}},"pull_request":{"url":"https://api.github.com/repos/yast/yast-yast2/pulls/785","id":205016785,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MDE2Nzg1","html_url":"https://github.com/yast/yast-yast2/pull/785","diff_url":"https://github.com/yast/yast-yast2/pull/785.diff","patch_url":"https://github.com/yast/yast-yast2/pull/785.patch","issue_url":"https://api.github.com/repos/yast/yast-yast2/issues/785","number":785,"state":"open","locked":false,"title":"Add a SystemdService.build method","user":{"login":"imobachgs","id":15836,"node_id":"MDQ6VXNlcjE1ODM2","avatar_url":"https://avatars0.githubusercontent.com/u/15836?v=4","gravatar_id":"","url":"https://api.github.com/users/imobachgs","html_url":"https://github.com/imobachgs","followers_url":"https://api.github.com/users/imobachgs/followers","following_url":"https://api.github.com/users/imobachgs/following{/other_user}","gists_url":"https://api.github.com/users/imobachgs/gists{/gist_id}","starred_url":"https://api.github.com/users/imobachgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imobachgs/subscriptions","organizations_url":"https://api.github.com/users/imobachgs/orgs","repos_url":"https://api.github.com/users/imobachgs/repos","events_url":"https://api.github.com/users/imobachgs/events{/privacy}","received_events_url":"https://api.github.com/users/imobachgs/received_events","type":"User","site_admin":false},"body":"Needed to support handling services during 1st stage. Needed for https://github.com/yast/yast-services-manager/pull/164.","created_at":"2018-07-31T07:14:16Z","updated_at":"2018-08-01T11:40:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b4efc2eb4b0ab4cebe0bfe6bca1facf54362f69","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yast/yast-yast2/pulls/785/commits","review_comments_url":"https://api.github.com/repos/yast/yast-yast2/pulls/785/comments","review_comment_url":"https://api.github.com/repos/yast/yast-yast2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yast/yast-yast2/issues/785/comments","statuses_url":"https://api.github.com/repos/yast/yast-yast2/statuses/26b42b6ce5d562ac6aeee4558dfc77937a819764","head":{"label":"yast:add-systemd-service-build","ref":"add-systemd-service-build","sha":"26b42b6ce5d562ac6aeee4558dfc77937a819764","user":{"login":"yast","id":909990,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkwOTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/909990?v=4","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"repo":{"id":4368244,"node_id":"MDEwOlJlcG9zaXRvcnk0MzY4MjQ0","name":"yast-yast2","full_name":"yast/yast-yast2","owner":{"login":"yast","id":909990,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkwOTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/909990?v=4","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yast/yast-yast2","description":"YaST module yast2","fork":false,"url":"https://api.github.com/repos/yast/yast-yast2","forks_url":"https://api.github.com/repos/yast/yast-yast2/forks","keys_url":"https://api.github.com/repos/yast/yast-yast2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yast/yast-yast2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yast/yast-yast2/teams","hooks_url":"https://api.github.com/repos/yast/yast-yast2/hooks","issue_events_url":"https://api.github.com/repos/yast/yast-yast2/issues/events{/number}","events_url":"https://api.github.com/repos/yast/yast-yast2/events","assignees_url":"https://api.github.com/repos/yast/yast-yast2/assignees{/user}","branches_url":"https://api.github.com/repos/yast/yast-yast2/branches{/branch}","tags_url":"https://api.github.com/repos/yast/yast-yast2/tags","blobs_url":"https://api.github.com/repos/yast/yast-yast2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yast/yast-yast2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yast/yast-yast2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yast/yast-yast2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yast/yast-yast2/statuses/{sha}","languages_url":"https://api.github.com/repos/yast/yast-yast2/languages","stargazers_url":"https://api.github.com/repos/yast/yast-yast2/stargazers","contributors_url":"https://api.github.com/repos/yast/yast-yast2/contributors","subscribers_url":"https://api.github.com/repos/yast/yast-yast2/subscribers","subscription_url":"https://api.github.com/repos/yast/yast-yast2/subscription","commits_url":"https://api.github.com/repos/yast/yast-yast2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yast/yast-yast2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yast/yast-yast2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yast/yast-yast2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yast/yast-yast2/contents/{+path}","compare_url":"https://api.github.com/repos/yast/yast-yast2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yast/yast-yast2/merges","archive_url":"https://api.github.com/repos/yast/yast-yast2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yast/yast-yast2/downloads","issues_url":"https://api.github.com/repos/yast/yast-yast2/issues{/number}","pulls_url":"https://api.github.com/repos/yast/yast-yast2/pulls{/number}","milestones_url":"https://api.github.com/repos/yast/yast-yast2/milestones{/number}","notifications_url":"https://api.github.com/repos/yast/yast-yast2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yast/yast-yast2/labels{/name}","releases_url":"https://api.github.com/repos/yast/yast-yast2/releases{/id}","deployments_url":"https://api.github.com/repos/yast/yast-yast2/deployments","created_at":"2012-05-18T10:27:22Z","updated_at":"2018-08-01T08:58:24Z","pushed_at":"2018-08-01T10:48:51Z","git_url":"git://github.com/yast/yast-yast2.git","ssh_url":"git@github.com:yast/yast-yast2.git","clone_url":"https://github.com/yast/yast-yast2.git","svn_url":"https://github.com/yast/yast-yast2","homepage":"http://en.opensuse.org/Portal:YaST","size":25960,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":33,"open_issues":15,"watchers":32,"default_branch":"master"}},"base":{"label":"yast:SLE-15-GA","ref":"SLE-15-GA","sha":"adb672c687b4ff8a23753edcf97222b76e0d9544","user":{"login":"yast","id":909990,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkwOTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/909990?v=4","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"repo":{"id":4368244,"node_id":"MDEwOlJlcG9zaXRvcnk0MzY4MjQ0","name":"yast-yast2","full_name":"yast/yast-yast2","owner":{"login":"yast","id":909990,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkwOTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/909990?v=4","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yast/yast-yast2","description":"YaST module yast2","fork":false,"url":"https://api.github.com/repos/yast/yast-yast2","forks_url":"https://api.github.com/repos/yast/yast-yast2/forks","keys_url":"https://api.github.com/repos/yast/yast-yast2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yast/yast-yast2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yast/yast-yast2/teams","hooks_url":"https://api.github.com/repos/yast/yast-yast2/hooks","issue_events_url":"https://api.github.com/repos/yast/yast-yast2/issues/events{/number}","events_url":"https://api.github.com/repos/yast/yast-yast2/events","assignees_url":"https://api.github.com/repos/yast/yast-yast2/assignees{/user}","branches_url":"https://api.github.com/repos/yast/yast-yast2/branches{/branch}","tags_url":"https://api.github.com/repos/yast/yast-yast2/tags","blobs_url":"https://api.github.com/repos/yast/yast-yast2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yast/yast-yast2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yast/yast-yast2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yast/yast-yast2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yast/yast-yast2/statuses/{sha}","languages_url":"https://api.github.com/repos/yast/yast-yast2/languages","stargazers_url":"https://api.github.com/repos/yast/yast-yast2/stargazers","contributors_url":"https://api.github.com/repos/yast/yast-yast2/contributors","subscribers_url":"https://api.github.com/repos/yast/yast-yast2/subscribers","subscription_url":"https://api.github.com/repos/yast/yast-yast2/subscription","commits_url":"https://api.github.com/repos/yast/yast-yast2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yast/yast-yast2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yast/yast-yast2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yast/yast-yast2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yast/yast-yast2/contents/{+path}","compare_url":"https://api.github.com/repos/yast/yast-yast2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yast/yast-yast2/merges","archive_url":"https://api.github.com/repos/yast/yast-yast2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yast/yast-yast2/downloads","issues_url":"https://api.github.com/repos/yast/yast-yast2/issues{/number}","pulls_url":"https://api.github.com/repos/yast/yast-yast2/pulls{/number}","milestones_url":"https://api.github.com/repos/yast/yast-yast2/milestones{/number}","notifications_url":"https://api.github.com/repos/yast/yast-yast2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yast/yast-yast2/labels{/name}","releases_url":"https://api.github.com/repos/yast/yast-yast2/releases{/id}","deployments_url":"https://api.github.com/repos/yast/yast-yast2/deployments","created_at":"2012-05-18T10:27:22Z","updated_at":"2018-08-01T08:58:24Z","pushed_at":"2018-08-01T10:48:51Z","git_url":"git://github.com/yast/yast-yast2.git","ssh_url":"git@github.com:yast/yast-yast2.git","clone_url":"https://github.com/yast/yast-yast2.git","svn_url":"https://github.com/yast/yast-yast2","homepage":"http://en.opensuse.org/Portal:YaST","size":25960,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":33,"open_issues":15,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yast/yast-yast2/pulls/785"},"html":{"href":"https://github.com/yast/yast-yast2/pull/785"},"issue":{"href":"https://api.github.com/repos/yast/yast-yast2/issues/785"},"comments":{"href":"https://api.github.com/repos/yast/yast-yast2/issues/785/comments"},"review_comments":{"href":"https://api.github.com/repos/yast/yast-yast2/pulls/785/comments"},"review_comment":{"href":"https://api.github.com/repos/yast/yast-yast2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yast/yast-yast2/pulls/785/commits"},"statuses":{"href":"https://api.github.com/repos/yast/yast-yast2/statuses/26b42b6ce5d562ac6aeee4558dfc77937a819764"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dgdavid"}}