{"action":"created","comment":{"url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/comments/88239494","pull_request_review_id":8817274,"id":88239494,"diff_hunk":"@@ -1,159 +1,58 @@\n require 'rails_helper'\n \n-# This spec was generated by rspec-rails when you ran the scaffold generator.\n-# It demonstrates how one might use RSpec to specify the controller code that\n-# was generated by Rails when you ran the scaffold generator.\n-#\n-# It assumes that the implementation code is generated by the rails scaffold\n-# generator.  If you are using any extension libraries to generate different\n-# controller code, this generated spec may or may not pass.\n-#\n-# It only uses APIs available in rails and/or rspec-rails.  There are a number\n-# of tools you can use to make these specs even more expressive, but we're\n-# sticking to rails and rspec-rails APIs to keep things simple and stable.\n-#\n-# Compared to earlier versions of this generator, there is very limited use of\n-# stubs and message expectations in this spec.  Stubs are only used when there\n-# is no simpler way to get a handle on the object needed for the example.\n-# Message expectations are only used when there is no simpler way to specify\n-# that an instance is receiving a specific message.\n-\n RSpec.describe PostsController, type: :controller do\n-\n-  # This should return the minimal set of attributes required to create a valid\n-  # Post. As you add validations to Post, be sure to\n-  # adjust the attributes here as well.\n   let(:valid_attributes) {\n-    skip(\"Add a hash of attributes valid for your model\")\n-  }\n-\n-  let(:invalid_attributes) {\n-    skip(\"Add a hash of attributes invalid for your model\")\n+    { title: 'some testing', body: 'lorem ipsum dolor', user_id: 1 }\n   }\n \n-  # This should return the minimal set of values that should be in the session\n-  # in order to pass any filters (e.g. authentication) defined in\n-  # PostsController. Be sure to keep this updated too.\n-  let(:valid_session) { {} }\n+  describe 'GET #publish' do\n \n-  describe \"GET #index\" do\n-    it \"assigns all posts as @posts\" do\n+    it 'should become published when publish action called' do\n       post = Post.create! valid_attributes\n-      get :index, params: {}, session: valid_session\n-      expect(assigns(:posts)).to eq([post])\n-    end\n-  end\n-\n-  describe \"GET #show\" do\n-    it \"assigns the requested post as @post\" do\n-      post = Post.create! valid_attributes\n-      get :show, params: {id: post.to_param}, session: valid_session\n-      expect(assigns(:post)).to eq(post)\n-    end\n-  end\n-\n-  describe \"GET #new\" do\n-    it \"assigns a new post as @post\" do\n-      get :new, params: {}, session: valid_session\n-      expect(assigns(:post)).to be_a_new(Post)\n-    end\n-  end\n+      get :publish, params: { id: post.to_param, user_id: post.user_id }\n \n-  describe \"GET #edit\" do\n-    it \"assigns the requested post as @post\" do\n-      post = Post.create! valid_attributes\n-      get :edit, params: {id: post.to_param}, session: valid_session\n-      expect(assigns(:post)).to eq(post)\n+      expect(assigns(:post).published).to eq(true)\n     end\n-  end\n \n-  describe \"POST #create\" do\n-    context \"with valid params\" do\n-      it \"creates a new Post\" do\n-        expect {\n-          post :create, params: {post: valid_attributes}, session: valid_session\n-        }.to change(Post, :count).by(1)\n-      end\n+    it 'should become unpublished when unpublish action called' do\n+      post = Post.create( { title: 'some testing',\n+                            body: 'lorem ipsum dolor',\n+                            user_id: 1,\n+                            published: true} )\n \n-      it \"assigns a newly created post as @post\" do\n-        post :create, params: {post: valid_attributes}, session: valid_session\n-        expect(assigns(:post)).to be_a(Post)\n-        expect(assigns(:post)).to be_persisted\n-      end\n+      get :unpublish, params: { id: post.to_param, user_id: post.user_id }\n \n-      it \"redirects to the created post\" do\n-        post :create, params: {post: valid_attributes}, session: valid_session\n-        expect(response).to redirect_to(Post.last)\n-      end\n-    end\n-\n-    context \"with invalid params\" do\n-      it \"assigns a newly created but unsaved post as @post\" do\n-        post :create, params: {post: invalid_attributes}, session: valid_session\n-        expect(assigns(:post)).to be_a_new(Post)\n-      end\n-\n-      it \"re-renders the 'new' template\" do\n-        post :create, params: {post: invalid_attributes}, session: valid_session\n-        expect(response).to render_template(\"new\")\n-      end\n+      expect(assigns(:post).published).to_not eq(true)\n     end\n   end\n \n-  describe \"PUT #update\" do\n-    context \"with valid params\" do\n-      let(:new_attributes) {\n-        skip(\"Add a hash of attributes valid for your model\")\n-      }\n-\n-      it \"updates the requested post\" do\n-        post = Post.create! valid_attributes\n-        put :update, params: {id: post.to_param, post: new_attributes}, session: valid_session\n-        post.reload\n-        skip(\"Add assertions for updated state\")\n-      end\n-\n-      it \"assigns the requested post as @post\" do\n-        post = Post.create! valid_attributes\n-        put :update, params: {id: post.to_param, post: valid_attributes}, session: valid_session\n-        expect(assigns(:post)).to eq(post)\n-      end\n+  describe 'with a published and user_id attribute' do\n+    it 'should become published when publish method called with correct user_id' do\n+      post = Post.create! valid_attributes\n+      get :publish, params: { id: post.to_param, user_id: post.user_id }\n \n-      it \"redirects to the post\" do\n-        post = Post.create! valid_attributes\n-        put :update, params: {id: post.to_param, post: valid_attributes}, session: valid_session\n-        expect(response).to redirect_to(post)\n-      end\n+      expect(assigns(:post).published).to eq(true)\n     end\n \n-    context \"with invalid params\" do\n-      it \"assigns the post as @post\" do\n-        post = Post.create! valid_attributes\n-        put :update, params: {id: post.to_param, post: invalid_attributes}, session: valid_session\n-        expect(assigns(:post)).to eq(post)\n-      end\n+    it 'should show error when user_id is not correct' do\n+      post = Post.create! valid_attributes\n+      get :publish, params: { id: post.to_param, user_id: post.user_id + 100 }\n \n-      it \"re-renders the 'edit' template\" do\n-        post = Post.create! valid_attributes\n-        put :update, params: {id: post.to_param, post: invalid_attributes}, session: valid_session\n-        expect(response).to render_template(\"edit\")\n-      end\n+      expect(flash.notice).to eq('You do not have access to publish action')\n     end\n-  end\n \n-  describe \"DELETE #destroy\" do\n-    it \"destroys the requested post\" do\n+    it 'should not become published when user_id is not correct' do\n       post = Post.create! valid_attributes\n-      expect {\n-        delete :destroy, params: {id: post.to_param}, session: valid_session\n-      }.to change(Post, :count).by(-1)\n+      get :publish, params: { id: post.to_param, user_id: post.user_id + 100 }\n+\n+      expect(assigns(:post).published).to eq(false)\n     end\n \n-    it \"redirects to the posts list\" do\n+    it 'should redirect to homepage when user_id is not correct' do\n       post = Post.create! valid_attributes","path":"spec/controllers/posts_controller_spec.rb","position":179,"original_position":179,"commit_id":"d3d714fb0d500ec30549db4ac93a7407e9f568df","original_commit_id":"d3d714fb0d500ec30549db4ac93a7407e9f568df","user":{"login":"skrypalyk","id":5591973,"avatar_url":"https://avatars.githubusercontent.com/u/5591973?v=3","gravatar_id":"","url":"https://api.github.com/users/skrypalyk","html_url":"https://github.com/skrypalyk","followers_url":"https://api.github.com/users/skrypalyk/followers","following_url":"https://api.github.com/users/skrypalyk/following{/other_user}","gists_url":"https://api.github.com/users/skrypalyk/gists{/gist_id}","starred_url":"https://api.github.com/users/skrypalyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrypalyk/subscriptions","organizations_url":"https://api.github.com/users/skrypalyk/orgs","repos_url":"https://api.github.com/users/skrypalyk/repos","events_url":"https://api.github.com/users/skrypalyk/events{/privacy}","received_events_url":"https://api.github.com/users/skrypalyk/received_events","type":"User","site_admin":false},"body":"і цієї","created_at":"2016-11-16T13:52:37Z","updated_at":"2016-11-16T13:58:44Z","html_url":"https://github.com/jovanni-lm/rspec-hometask/pull/1#discussion_r88239494","pull_request_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/comments/88239494"},"html":{"href":"https://github.com/jovanni-lm/rspec-hometask/pull/1#discussion_r88239494"},"pull_request":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1","id":93802790,"html_url":"https://github.com/jovanni-lm/rspec-hometask/pull/1","diff_url":"https://github.com/jovanni-lm/rspec-hometask/pull/1.diff","patch_url":"https://github.com/jovanni-lm/rspec-hometask/pull/1.patch","issue_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/1","number":1,"state":"open","locked":false,"title":"Hometask added tests","user":{"login":"jovanni-lm","id":9214334,"avatar_url":"https://avatars.githubusercontent.com/u/9214334?v=3","gravatar_id":"","url":"https://api.github.com/users/jovanni-lm","html_url":"https://github.com/jovanni-lm","followers_url":"https://api.github.com/users/jovanni-lm/followers","following_url":"https://api.github.com/users/jovanni-lm/following{/other_user}","gists_url":"https://api.github.com/users/jovanni-lm/gists{/gist_id}","starred_url":"https://api.github.com/users/jovanni-lm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jovanni-lm/subscriptions","organizations_url":"https://api.github.com/users/jovanni-lm/orgs","repos_url":"https://api.github.com/users/jovanni-lm/repos","events_url":"https://api.github.com/users/jovanni-lm/events{/privacy}","received_events_url":"https://api.github.com/users/jovanni-lm/received_events","type":"User","site_admin":false},"body":"@skrypalyk  ось моя задачка","created_at":"2016-11-15T16:43:37Z","updated_at":"2016-11-16T13:58:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef64a87014242a58c08c0a26361ebb9c7d8d2f12","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/1/comments","statuses_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/statuses/d3d714fb0d500ec30549db4ac93a7407e9f568df","head":{"label":"jovanni-lm:hometask-added-tests","ref":"hometask-added-tests","sha":"d3d714fb0d500ec30549db4ac93a7407e9f568df","user":{"login":"jovanni-lm","id":9214334,"avatar_url":"https://avatars.githubusercontent.com/u/9214334?v=3","gravatar_id":"","url":"https://api.github.com/users/jovanni-lm","html_url":"https://github.com/jovanni-lm","followers_url":"https://api.github.com/users/jovanni-lm/followers","following_url":"https://api.github.com/users/jovanni-lm/following{/other_user}","gists_url":"https://api.github.com/users/jovanni-lm/gists{/gist_id}","starred_url":"https://api.github.com/users/jovanni-lm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jovanni-lm/subscriptions","organizations_url":"https://api.github.com/users/jovanni-lm/orgs","repos_url":"https://api.github.com/users/jovanni-lm/repos","events_url":"https://api.github.com/users/jovanni-lm/events{/privacy}","received_events_url":"https://api.github.com/users/jovanni-lm/received_events","type":"User","site_admin":false},"repo":{"id":73746568,"name":"rspec-hometask","full_name":"jovanni-lm/rspec-hometask","owner":{"login":"jovanni-lm","id":9214334,"avatar_url":"https://avatars.githubusercontent.com/u/9214334?v=3","gravatar_id":"","url":"https://api.github.com/users/jovanni-lm","html_url":"https://github.com/jovanni-lm","followers_url":"https://api.github.com/users/jovanni-lm/followers","following_url":"https://api.github.com/users/jovanni-lm/following{/other_user}","gists_url":"https://api.github.com/users/jovanni-lm/gists{/gist_id}","starred_url":"https://api.github.com/users/jovanni-lm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jovanni-lm/subscriptions","organizations_url":"https://api.github.com/users/jovanni-lm/orgs","repos_url":"https://api.github.com/users/jovanni-lm/repos","events_url":"https://api.github.com/users/jovanni-lm/events{/privacy}","received_events_url":"https://api.github.com/users/jovanni-lm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jovanni-lm/rspec-hometask","description":null,"fork":false,"url":"https://api.github.com/repos/jovanni-lm/rspec-hometask","forks_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/forks","keys_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/teams","hooks_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/hooks","issue_events_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/events{/number}","events_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/events","assignees_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/assignees{/user}","branches_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/branches{/branch}","tags_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/tags","blobs_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/refs{/sha}","trees_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/statuses/{sha}","languages_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/languages","stargazers_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/stargazers","contributors_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/contributors","subscribers_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/subscribers","subscription_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/subscription","commits_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/commits{/sha}","git_commits_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/commits{/sha}","comments_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/comments{/number}","issue_comment_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/comments{/number}","contents_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/contents/{+path}","compare_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/merges","archive_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/downloads","issues_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues{/number}","pulls_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls{/number}","milestones_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/milestones{/number}","notifications_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/labels{/name}","releases_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/releases{/id}","deployments_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/deployments","created_at":"2016-11-14T21:02:45Z","updated_at":"2016-11-14T21:20:55Z","pushed_at":"2016-11-15T16:43:37Z","git_url":"git://github.com/jovanni-lm/rspec-hometask.git","ssh_url":"git@github.com:jovanni-lm/rspec-hometask.git","clone_url":"https://github.com/jovanni-lm/rspec-hometask.git","svn_url":"https://github.com/jovanni-lm/rspec-hometask","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jovanni-lm:master","ref":"master","sha":"92731e24cf706fa380aac84414756e6b561a487b","user":{"login":"jovanni-lm","id":9214334,"avatar_url":"https://avatars.githubusercontent.com/u/9214334?v=3","gravatar_id":"","url":"https://api.github.com/users/jovanni-lm","html_url":"https://github.com/jovanni-lm","followers_url":"https://api.github.com/users/jovanni-lm/followers","following_url":"https://api.github.com/users/jovanni-lm/following{/other_user}","gists_url":"https://api.github.com/users/jovanni-lm/gists{/gist_id}","starred_url":"https://api.github.com/users/jovanni-lm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jovanni-lm/subscriptions","organizations_url":"https://api.github.com/users/jovanni-lm/orgs","repos_url":"https://api.github.com/users/jovanni-lm/repos","events_url":"https://api.github.com/users/jovanni-lm/events{/privacy}","received_events_url":"https://api.github.com/users/jovanni-lm/received_events","type":"User","site_admin":false},"repo":{"id":73746568,"name":"rspec-hometask","full_name":"jovanni-lm/rspec-hometask","owner":{"login":"jovanni-lm","id":9214334,"avatar_url":"https://avatars.githubusercontent.com/u/9214334?v=3","gravatar_id":"","url":"https://api.github.com/users/jovanni-lm","html_url":"https://github.com/jovanni-lm","followers_url":"https://api.github.com/users/jovanni-lm/followers","following_url":"https://api.github.com/users/jovanni-lm/following{/other_user}","gists_url":"https://api.github.com/users/jovanni-lm/gists{/gist_id}","starred_url":"https://api.github.com/users/jovanni-lm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jovanni-lm/subscriptions","organizations_url":"https://api.github.com/users/jovanni-lm/orgs","repos_url":"https://api.github.com/users/jovanni-lm/repos","events_url":"https://api.github.com/users/jovanni-lm/events{/privacy}","received_events_url":"https://api.github.com/users/jovanni-lm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jovanni-lm/rspec-hometask","description":null,"fork":false,"url":"https://api.github.com/repos/jovanni-lm/rspec-hometask","forks_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/forks","keys_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/teams","hooks_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/hooks","issue_events_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/events{/number}","events_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/events","assignees_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/assignees{/user}","branches_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/branches{/branch}","tags_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/tags","blobs_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/refs{/sha}","trees_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/statuses/{sha}","languages_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/languages","stargazers_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/stargazers","contributors_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/contributors","subscribers_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/subscribers","subscription_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/subscription","commits_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/commits{/sha}","git_commits_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/git/commits{/sha}","comments_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/comments{/number}","issue_comment_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/comments{/number}","contents_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/contents/{+path}","compare_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/merges","archive_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/downloads","issues_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues{/number}","pulls_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls{/number}","milestones_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/milestones{/number}","notifications_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/labels{/name}","releases_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/releases{/id}","deployments_url":"https://api.github.com/repos/jovanni-lm/rspec-hometask/deployments","created_at":"2016-11-14T21:02:45Z","updated_at":"2016-11-14T21:20:55Z","pushed_at":"2016-11-15T16:43:37Z","git_url":"git://github.com/jovanni-lm/rspec-hometask.git","ssh_url":"git@github.com:jovanni-lm/rspec-hometask.git","clone_url":"https://github.com/jovanni-lm/rspec-hometask.git","svn_url":"https://github.com/jovanni-lm/rspec-hometask","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1"},"html":{"href":"https://github.com/jovanni-lm/rspec-hometask/pull/1"},"issue":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/1"},"comments":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jovanni-lm/rspec-hometask/statuses/d3d714fb0d500ec30549db4ac93a7407e9f568df"}}}}
{"actor":{"display_login":"skrypalyk"}}