{"action":"opened","number":18782,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/18782","id":279688583,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc5Njg4NTgz","html_url":"https://github.com/ManageIQ/manageiq/pull/18782","diff_url":"https://github.com/ManageIQ/manageiq/pull/18782.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/18782.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/18782","number":18782,"state":"open","locked":false,"title":"Remove unused partial for User instances in  MiqProvisionRequest specs","user":{"login":"djberg96","id":78529,"node_id":"MDQ6VXNlcjc4NTI5","avatar_url":"https://avatars3.githubusercontent.com/u/78529?v=4","gravatar_id":"","url":"https://api.github.com/users/djberg96","html_url":"https://github.com/djberg96","followers_url":"https://api.github.com/users/djberg96/followers","following_url":"https://api.github.com/users/djberg96/following{/other_user}","gists_url":"https://api.github.com/users/djberg96/gists{/gist_id}","starred_url":"https://api.github.com/users/djberg96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djberg96/subscriptions","organizations_url":"https://api.github.com/users/djberg96/orgs","repos_url":"https://api.github.com/users/djberg96/repos","events_url":"https://api.github.com/users/djberg96/events{/privacy}","received_events_url":"https://api.github.com/users/djberg96/received_events","type":"User","site_admin":false},"body":"The call to `allow_any_instance_of(User).to receive(:role).and_return(\"admin\")` breaks strict partial verifications. It doesn't appear to do anything since `User` doesn't implement a `role` method, and removing it caused no issues.\r\n\r\nI also updated the outer describe block to `RSpec.describe` for future compliance with rspec 4.","created_at":"2019-05-16T22:16:45Z","updated_at":"2019-05-16T22:16:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/18782/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/18782/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/18782/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/79bf96b0a5ad601027c1adeadd9cebc1a5f27077","head":{"label":"djberg96:miq_provision_request_spec","ref":"miq_provision_request_spec","sha":"79bf96b0a5ad601027c1adeadd9cebc1a5f27077","user":{"login":"djberg96","id":78529,"node_id":"MDQ6VXNlcjc4NTI5","avatar_url":"https://avatars3.githubusercontent.com/u/78529?v=4","gravatar_id":"","url":"https://api.github.com/users/djberg96","html_url":"https://github.com/djberg96","followers_url":"https://api.github.com/users/djberg96/followers","following_url":"https://api.github.com/users/djberg96/following{/other_user}","gists_url":"https://api.github.com/users/djberg96/gists{/gist_id}","starred_url":"https://api.github.com/users/djberg96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djberg96/subscriptions","organizations_url":"https://api.github.com/users/djberg96/orgs","repos_url":"https://api.github.com/users/djberg96/repos","events_url":"https://api.github.com/users/djberg96/events{/privacy}","received_events_url":"https://api.github.com/users/djberg96/received_events","type":"User","site_admin":false},"repo":{"id":36390845,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM5MDg0NQ==","name":"manageiq","full_name":"djberg96/manageiq","private":false,"owner":{"login":"djberg96","id":78529,"node_id":"MDQ6VXNlcjc4NTI5","avatar_url":"https://avatars3.githubusercontent.com/u/78529?v=4","gravatar_id":"","url":"https://api.github.com/users/djberg96","html_url":"https://github.com/djberg96","followers_url":"https://api.github.com/users/djberg96/followers","following_url":"https://api.github.com/users/djberg96/following{/other_user}","gists_url":"https://api.github.com/users/djberg96/gists{/gist_id}","starred_url":"https://api.github.com/users/djberg96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djberg96/subscriptions","organizations_url":"https://api.github.com/users/djberg96/orgs","repos_url":"https://api.github.com/users/djberg96/repos","events_url":"https://api.github.com/users/djberg96/events{/privacy}","received_events_url":"https://api.github.com/users/djberg96/received_events","type":"User","site_admin":false},"html_url":"https://github.com/djberg96/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/djberg96/manageiq","forks_url":"https://api.github.com/repos/djberg96/manageiq/forks","keys_url":"https://api.github.com/repos/djberg96/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djberg96/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djberg96/manageiq/teams","hooks_url":"https://api.github.com/repos/djberg96/manageiq/hooks","issue_events_url":"https://api.github.com/repos/djberg96/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/djberg96/manageiq/events","assignees_url":"https://api.github.com/repos/djberg96/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/djberg96/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/djberg96/manageiq/tags","blobs_url":"https://api.github.com/repos/djberg96/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djberg96/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djberg96/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/djberg96/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djberg96/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/djberg96/manageiq/languages","stargazers_url":"https://api.github.com/repos/djberg96/manageiq/stargazers","contributors_url":"https://api.github.com/repos/djberg96/manageiq/contributors","subscribers_url":"https://api.github.com/repos/djberg96/manageiq/subscribers","subscription_url":"https://api.github.com/repos/djberg96/manageiq/subscription","commits_url":"https://api.github.com/repos/djberg96/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/djberg96/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/djberg96/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/djberg96/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/djberg96/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/djberg96/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djberg96/manageiq/merges","archive_url":"https://api.github.com/repos/djberg96/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djberg96/manageiq/downloads","issues_url":"https://api.github.com/repos/djberg96/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/djberg96/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/djberg96/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/djberg96/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djberg96/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/djberg96/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/djberg96/manageiq/deployments","created_at":"2015-05-27T19:34:30Z","updated_at":"2019-05-16T20:20:28Z","pushed_at":"2019-05-16T22:14:13Z","git_url":"git://github.com/djberg96/manageiq.git","ssh_url":"git@github.com:djberg96/manageiq.git","clone_url":"https://github.com/djberg96/manageiq.git","svn_url":"https://github.com/djberg96/manageiq","homepage":"manageiq.org","size":243942,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"344a3b3018017861e2a456bfa27654f07d097af5","user":{"login":"ManageIQ","id":1125575,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjU1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"node_id":"MDEwOlJlcG9zaXRvcnkyMDc4OTc1Nw==","name":"manageiq","full_name":"ManageIQ/manageiq","private":false,"owner":{"login":"ManageIQ","id":1125575,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjU1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Open-Source Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2019-05-16T20:33:35Z","pushed_at":"2019-05-16T22:09:49Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":262195,"stargazers_count":822,"watchers_count":822,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":699,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":168,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":699,"open_issues":168,"watchers":822,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/18782"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/18782"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/18782"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/18782/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/18782/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/18782/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/79bf96b0a5ad601027c1adeadd9cebc1a5f27077"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"djberg96"}}