{"action":"created","comment":{"url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/comments/25132427","id":25132427,"diff_hunk":"@@ -0,0 +1,159 @@\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 BlogsController, :type => :controller do\n+\n+  # This should return the minimal set of attributes required to create a valid\n+  # Blog. As you add validations to Blog, be sure to\n+  # adjust the attributes here as well.\n+  let(:valid_attributes) {","path":"spec/controllers/blogs_controller_spec.rb","position":26,"original_position":26,"commit_id":"8be9e17e3d0337bd04850c3e1322dd246ea6c3f3","original_commit_id":"8be9e17e3d0337bd04850c3e1322dd246ea6c3f3","user":{"login":"mpakus","id":312477,"avatar_url":"https://avatars.githubusercontent.com/u/312477?v=3","gravatar_id":"","url":"https://api.github.com/users/mpakus","html_url":"https://github.com/mpakus","followers_url":"https://api.github.com/users/mpakus/followers","following_url":"https://api.github.com/users/mpakus/following{/other_user}","gists_url":"https://api.github.com/users/mpakus/gists{/gist_id}","starred_url":"https://api.github.com/users/mpakus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpakus/subscriptions","organizations_url":"https://api.github.com/users/mpakus/orgs","repos_url":"https://api.github.com/users/mpakus/repos","events_url":"https://api.github.com/users/mpakus/events{/privacy}","received_events_url":"https://api.github.com/users/mpakus/received_events","type":"User","site_admin":false},"body":"это какая-то заглушка, она не нужна :)","created_at":"2015-02-22T14:18:50Z","updated_at":"2015-02-22T14:18:50Z","html_url":"https://github.com/ufacode/ufacode.ru/pull/2#discussion_r25132427","pull_request_url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/comments/25132427"},"html":{"href":"https://github.com/ufacode/ufacode.ru/pull/2#discussion_r25132427"},"pull_request":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2","id":29770590,"html_url":"https://github.com/ufacode/ufacode.ru/pull/2","diff_url":"https://github.com/ufacode/ufacode.ru/pull/2.diff","patch_url":"https://github.com/ufacode/ufacode.ru/pull/2.patch","issue_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues/2","number":2,"state":"open","locked":false,"title":"Blog scaffold","user":{"login":"neolite","id":576423,"avatar_url":"https://avatars.githubusercontent.com/u/576423?v=3","gravatar_id":"","url":"https://api.github.com/users/neolite","html_url":"https://github.com/neolite","followers_url":"https://api.github.com/users/neolite/followers","following_url":"https://api.github.com/users/neolite/following{/other_user}","gists_url":"https://api.github.com/users/neolite/gists{/gist_id}","starred_url":"https://api.github.com/users/neolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolite/subscriptions","organizations_url":"https://api.github.com/users/neolite/orgs","repos_url":"https://api.github.com/users/neolite/repos","events_url":"https://api.github.com/users/neolite/events{/privacy}","received_events_url":"https://api.github.com/users/neolite/received_events","type":"User","site_admin":false},"body":"Скаффолдом сгенерировал основные вещи, сдела, чтобы к блогам можно было обратиться по uri, создал первого юзера в сидах","created_at":"2015-02-22T13:52:34Z","updated_at":"2015-02-22T14:18:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c8118fa3432a3c41f30c370c0d226c523201d9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues/2/comments","statuses_url":"https://api.github.com/repos/ufacode/ufacode.ru/statuses/8be9e17e3d0337bd04850c3e1322dd246ea6c3f3","head":{"label":"ufacode:blogs","ref":"blogs","sha":"8be9e17e3d0337bd04850c3e1322dd246ea6c3f3","user":{"login":"ufacode","id":6215508,"avatar_url":"https://avatars.githubusercontent.com/u/6215508?v=3","gravatar_id":"","url":"https://api.github.com/users/ufacode","html_url":"https://github.com/ufacode","followers_url":"https://api.github.com/users/ufacode/followers","following_url":"https://api.github.com/users/ufacode/following{/other_user}","gists_url":"https://api.github.com/users/ufacode/gists{/gist_id}","starred_url":"https://api.github.com/users/ufacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufacode/subscriptions","organizations_url":"https://api.github.com/users/ufacode/orgs","repos_url":"https://api.github.com/users/ufacode/repos","events_url":"https://api.github.com/users/ufacode/events{/privacy}","received_events_url":"https://api.github.com/users/ufacode/received_events","type":"Organization","site_admin":false},"repo":{"id":26049265,"name":"ufacode.ru","full_name":"ufacode/ufacode.ru","owner":{"login":"ufacode","id":6215508,"avatar_url":"https://avatars.githubusercontent.com/u/6215508?v=3","gravatar_id":"","url":"https://api.github.com/users/ufacode","html_url":"https://github.com/ufacode","followers_url":"https://api.github.com/users/ufacode/followers","following_url":"https://api.github.com/users/ufacode/following{/other_user}","gists_url":"https://api.github.com/users/ufacode/gists{/gist_id}","starred_url":"https://api.github.com/users/ufacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufacode/subscriptions","organizations_url":"https://api.github.com/users/ufacode/orgs","repos_url":"https://api.github.com/users/ufacode/repos","events_url":"https://api.github.com/users/ufacode/events{/privacy}","received_events_url":"https://api.github.com/users/ufacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ufacode/ufacode.ru","description":"ufacode.ru - community engine","fork":false,"url":"https://api.github.com/repos/ufacode/ufacode.ru","forks_url":"https://api.github.com/repos/ufacode/ufacode.ru/forks","keys_url":"https://api.github.com/repos/ufacode/ufacode.ru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ufacode/ufacode.ru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ufacode/ufacode.ru/teams","hooks_url":"https://api.github.com/repos/ufacode/ufacode.ru/hooks","issue_events_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues/events{/number}","events_url":"https://api.github.com/repos/ufacode/ufacode.ru/events","assignees_url":"https://api.github.com/repos/ufacode/ufacode.ru/assignees{/user}","branches_url":"https://api.github.com/repos/ufacode/ufacode.ru/branches{/branch}","tags_url":"https://api.github.com/repos/ufacode/ufacode.ru/tags","blobs_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/refs{/sha}","trees_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ufacode/ufacode.ru/statuses/{sha}","languages_url":"https://api.github.com/repos/ufacode/ufacode.ru/languages","stargazers_url":"https://api.github.com/repos/ufacode/ufacode.ru/stargazers","contributors_url":"https://api.github.com/repos/ufacode/ufacode.ru/contributors","subscribers_url":"https://api.github.com/repos/ufacode/ufacode.ru/subscribers","subscription_url":"https://api.github.com/repos/ufacode/ufacode.ru/subscription","commits_url":"https://api.github.com/repos/ufacode/ufacode.ru/commits{/sha}","git_commits_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/commits{/sha}","comments_url":"https://api.github.com/repos/ufacode/ufacode.ru/comments{/number}","issue_comment_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues/comments{/number}","contents_url":"https://api.github.com/repos/ufacode/ufacode.ru/contents/{+path}","compare_url":"https://api.github.com/repos/ufacode/ufacode.ru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ufacode/ufacode.ru/merges","archive_url":"https://api.github.com/repos/ufacode/ufacode.ru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ufacode/ufacode.ru/downloads","issues_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues{/number}","pulls_url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls{/number}","milestones_url":"https://api.github.com/repos/ufacode/ufacode.ru/milestones{/number}","notifications_url":"https://api.github.com/repos/ufacode/ufacode.ru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ufacode/ufacode.ru/labels{/name}","releases_url":"https://api.github.com/repos/ufacode/ufacode.ru/releases{/id}","created_at":"2014-11-01T11:48:24Z","updated_at":"2015-02-08T14:53:44Z","pushed_at":"2015-02-22T13:46:59Z","git_url":"git://github.com/ufacode/ufacode.ru.git","ssh_url":"git@github.com:ufacode/ufacode.ru.git","clone_url":"https://github.com/ufacode/ufacode.ru.git","svn_url":"https://github.com/ufacode/ufacode.ru","homepage":null,"size":1036,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"ufacode:master","ref":"master","sha":"068d30fe6b454d1baecd3f91a38e081006899827","user":{"login":"ufacode","id":6215508,"avatar_url":"https://avatars.githubusercontent.com/u/6215508?v=3","gravatar_id":"","url":"https://api.github.com/users/ufacode","html_url":"https://github.com/ufacode","followers_url":"https://api.github.com/users/ufacode/followers","following_url":"https://api.github.com/users/ufacode/following{/other_user}","gists_url":"https://api.github.com/users/ufacode/gists{/gist_id}","starred_url":"https://api.github.com/users/ufacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufacode/subscriptions","organizations_url":"https://api.github.com/users/ufacode/orgs","repos_url":"https://api.github.com/users/ufacode/repos","events_url":"https://api.github.com/users/ufacode/events{/privacy}","received_events_url":"https://api.github.com/users/ufacode/received_events","type":"Organization","site_admin":false},"repo":{"id":26049265,"name":"ufacode.ru","full_name":"ufacode/ufacode.ru","owner":{"login":"ufacode","id":6215508,"avatar_url":"https://avatars.githubusercontent.com/u/6215508?v=3","gravatar_id":"","url":"https://api.github.com/users/ufacode","html_url":"https://github.com/ufacode","followers_url":"https://api.github.com/users/ufacode/followers","following_url":"https://api.github.com/users/ufacode/following{/other_user}","gists_url":"https://api.github.com/users/ufacode/gists{/gist_id}","starred_url":"https://api.github.com/users/ufacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufacode/subscriptions","organizations_url":"https://api.github.com/users/ufacode/orgs","repos_url":"https://api.github.com/users/ufacode/repos","events_url":"https://api.github.com/users/ufacode/events{/privacy}","received_events_url":"https://api.github.com/users/ufacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ufacode/ufacode.ru","description":"ufacode.ru - community engine","fork":false,"url":"https://api.github.com/repos/ufacode/ufacode.ru","forks_url":"https://api.github.com/repos/ufacode/ufacode.ru/forks","keys_url":"https://api.github.com/repos/ufacode/ufacode.ru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ufacode/ufacode.ru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ufacode/ufacode.ru/teams","hooks_url":"https://api.github.com/repos/ufacode/ufacode.ru/hooks","issue_events_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues/events{/number}","events_url":"https://api.github.com/repos/ufacode/ufacode.ru/events","assignees_url":"https://api.github.com/repos/ufacode/ufacode.ru/assignees{/user}","branches_url":"https://api.github.com/repos/ufacode/ufacode.ru/branches{/branch}","tags_url":"https://api.github.com/repos/ufacode/ufacode.ru/tags","blobs_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/refs{/sha}","trees_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ufacode/ufacode.ru/statuses/{sha}","languages_url":"https://api.github.com/repos/ufacode/ufacode.ru/languages","stargazers_url":"https://api.github.com/repos/ufacode/ufacode.ru/stargazers","contributors_url":"https://api.github.com/repos/ufacode/ufacode.ru/contributors","subscribers_url":"https://api.github.com/repos/ufacode/ufacode.ru/subscribers","subscription_url":"https://api.github.com/repos/ufacode/ufacode.ru/subscription","commits_url":"https://api.github.com/repos/ufacode/ufacode.ru/commits{/sha}","git_commits_url":"https://api.github.com/repos/ufacode/ufacode.ru/git/commits{/sha}","comments_url":"https://api.github.com/repos/ufacode/ufacode.ru/comments{/number}","issue_comment_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues/comments{/number}","contents_url":"https://api.github.com/repos/ufacode/ufacode.ru/contents/{+path}","compare_url":"https://api.github.com/repos/ufacode/ufacode.ru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ufacode/ufacode.ru/merges","archive_url":"https://api.github.com/repos/ufacode/ufacode.ru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ufacode/ufacode.ru/downloads","issues_url":"https://api.github.com/repos/ufacode/ufacode.ru/issues{/number}","pulls_url":"https://api.github.com/repos/ufacode/ufacode.ru/pulls{/number}","milestones_url":"https://api.github.com/repos/ufacode/ufacode.ru/milestones{/number}","notifications_url":"https://api.github.com/repos/ufacode/ufacode.ru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ufacode/ufacode.ru/labels{/name}","releases_url":"https://api.github.com/repos/ufacode/ufacode.ru/releases{/id}","created_at":"2014-11-01T11:48:24Z","updated_at":"2015-02-08T14:53:44Z","pushed_at":"2015-02-22T13:46:59Z","git_url":"git://github.com/ufacode/ufacode.ru.git","ssh_url":"git@github.com:ufacode/ufacode.ru.git","clone_url":"https://github.com/ufacode/ufacode.ru.git","svn_url":"https://github.com/ufacode/ufacode.ru","homepage":null,"size":1036,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2"},"html":{"href":"https://github.com/ufacode/ufacode.ru/pull/2"},"issue":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/issues/2"},"comments":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ufacode/ufacode.ru/statuses/8be9e17e3d0337bd04850c3e1322dd246ea6c3f3"}}}}