{"action":"created","comment":{"url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/comments/152970226","pull_request_review_id":78896854,"id":152970226,"diff_hunk":"@@ -0,0 +1,80 @@\n+require './lib/schedule'\n+include MkdevMovies\n+  \n+describe Schedule do  \n+  let(:dummytheatre) { Class.new { include Schedule } }\n+  \n+  context 'when create without block' do\n+    subject { dummytheatre.new }    \n+    it { expect { subject }.to  raise_error('Need a block to create Theatre!') }   \n+  end\n+  \n+  describe '#hall' do\n+      subject { \n+          smelly_title = title \n+          smelly_places = places\n+          dummytheatre.new { hall :red, title: smelly_title, places: smelly_places } } \n+    context 'when right params' do\n+      let(:title) { 'Красный зал' }\n+      let(:places) { 100 }\n+      let(:red_hall) { { :red=>{:title=>\"Красный зал\", :places=>100 } } } \n+      it { expect(subject.halls).to  include(red_hall) }","path":"spec/schedule_spec.rb","position":21,"original_position":21,"commit_id":"73476d52d5e54610d5de2e0577459a710d470154","original_commit_id":"73476d52d5e54610d5de2e0577459a710d470154","user":{"login":"zverok","id":129656,"avatar_url":"https://avatars1.githubusercontent.com/u/129656?v=4","gravatar_id":"","url":"https://api.github.com/users/zverok","html_url":"https://github.com/zverok","followers_url":"https://api.github.com/users/zverok/followers","following_url":"https://api.github.com/users/zverok/following{/other_user}","gists_url":"https://api.github.com/users/zverok/gists{/gist_id}","starred_url":"https://api.github.com/users/zverok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zverok/subscriptions","organizations_url":"https://api.github.com/users/zverok/orgs","repos_url":"https://api.github.com/users/zverok/repos","events_url":"https://api.github.com/users/zverok/events{/privacy}","received_events_url":"https://api.github.com/users/zverok/received_events","type":"User","site_admin":false},"body":"Лучше ожидаемое значение прямо сюда вписать, не выкладвать в отдельный let","created_at":"2017-11-24T13:30:55Z","updated_at":"2017-11-24T13:31:11Z","html_url":"https://github.com/novokshonovp/mkdev-movies/pull/8#discussion_r152970226","pull_request_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/comments/152970226"},"html":{"href":"https://github.com/novokshonovp/mkdev-movies/pull/8#discussion_r152970226"},"pull_request":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8","id":154530787,"html_url":"https://github.com/novokshonovp/mkdev-movies/pull/8","diff_url":"https://github.com/novokshonovp/mkdev-movies/pull/8.diff","patch_url":"https://github.com/novokshonovp/mkdev-movies/pull/8.patch","issue_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/8","number":8,"state":"open","locked":false,"title":"second review","user":{"login":"novokshonovp","id":32157112,"avatar_url":"https://avatars0.githubusercontent.com/u/32157112?v=4","gravatar_id":"","url":"https://api.github.com/users/novokshonovp","html_url":"https://github.com/novokshonovp","followers_url":"https://api.github.com/users/novokshonovp/followers","following_url":"https://api.github.com/users/novokshonovp/following{/other_user}","gists_url":"https://api.github.com/users/novokshonovp/gists{/gist_id}","starred_url":"https://api.github.com/users/novokshonovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novokshonovp/subscriptions","organizations_url":"https://api.github.com/users/novokshonovp/orgs","repos_url":"https://api.github.com/users/novokshonovp/repos","events_url":"https://api.github.com/users/novokshonovp/events{/privacy}","received_events_url":"https://api.github.com/users/novokshonovp/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-24T11:45:23Z","updated_at":"2017-11-24T13:31:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c19c7387acbc127d9e079b5e1cc8fd5afd139bf","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8/commits","review_comments_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8/comments","review_comment_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/8/comments","statuses_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/statuses/73476d52d5e54610d5de2e0577459a710d470154","head":{"label":"novokshonovp:Task_9","ref":"Task_9","sha":"73476d52d5e54610d5de2e0577459a710d470154","user":{"login":"novokshonovp","id":32157112,"avatar_url":"https://avatars0.githubusercontent.com/u/32157112?v=4","gravatar_id":"","url":"https://api.github.com/users/novokshonovp","html_url":"https://github.com/novokshonovp","followers_url":"https://api.github.com/users/novokshonovp/followers","following_url":"https://api.github.com/users/novokshonovp/following{/other_user}","gists_url":"https://api.github.com/users/novokshonovp/gists{/gist_id}","starred_url":"https://api.github.com/users/novokshonovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novokshonovp/subscriptions","organizations_url":"https://api.github.com/users/novokshonovp/orgs","repos_url":"https://api.github.com/users/novokshonovp/repos","events_url":"https://api.github.com/users/novokshonovp/events{/privacy}","received_events_url":"https://api.github.com/users/novokshonovp/received_events","type":"User","site_admin":false},"repo":{"id":104651357,"name":"mkdev-movies","full_name":"novokshonovp/mkdev-movies","owner":{"login":"novokshonovp","id":32157112,"avatar_url":"https://avatars0.githubusercontent.com/u/32157112?v=4","gravatar_id":"","url":"https://api.github.com/users/novokshonovp","html_url":"https://github.com/novokshonovp","followers_url":"https://api.github.com/users/novokshonovp/followers","following_url":"https://api.github.com/users/novokshonovp/following{/other_user}","gists_url":"https://api.github.com/users/novokshonovp/gists{/gist_id}","starred_url":"https://api.github.com/users/novokshonovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novokshonovp/subscriptions","organizations_url":"https://api.github.com/users/novokshonovp/orgs","repos_url":"https://api.github.com/users/novokshonovp/repos","events_url":"https://api.github.com/users/novokshonovp/events{/privacy}","received_events_url":"https://api.github.com/users/novokshonovp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/novokshonovp/mkdev-movies","description":null,"fork":false,"url":"https://api.github.com/repos/novokshonovp/mkdev-movies","forks_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/forks","keys_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/teams","hooks_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/hooks","issue_events_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/events{/number}","events_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/events","assignees_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/assignees{/user}","branches_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/branches{/branch}","tags_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/tags","blobs_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/refs{/sha}","trees_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/statuses/{sha}","languages_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/languages","stargazers_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/stargazers","contributors_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/contributors","subscribers_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/subscribers","subscription_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/subscription","commits_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/commits{/sha}","git_commits_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/commits{/sha}","comments_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/comments{/number}","issue_comment_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/comments{/number}","contents_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/contents/{+path}","compare_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/merges","archive_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/downloads","issues_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues{/number}","pulls_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls{/number}","milestones_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/milestones{/number}","notifications_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/labels{/name}","releases_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/releases{/id}","deployments_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/deployments","created_at":"2017-09-24T14:43:46Z","updated_at":"2017-09-24T14:44:45Z","pushed_at":"2017-11-24T11:45:25Z","git_url":"git://github.com/novokshonovp/mkdev-movies.git","ssh_url":"git@github.com:novokshonovp/mkdev-movies.git","clone_url":"https://github.com/novokshonovp/mkdev-movies.git","svn_url":"https://github.com/novokshonovp/mkdev-movies","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"novokshonovp:master","ref":"master","sha":"843f8c8c67735afafb8048532f2a1788988de310","user":{"login":"novokshonovp","id":32157112,"avatar_url":"https://avatars0.githubusercontent.com/u/32157112?v=4","gravatar_id":"","url":"https://api.github.com/users/novokshonovp","html_url":"https://github.com/novokshonovp","followers_url":"https://api.github.com/users/novokshonovp/followers","following_url":"https://api.github.com/users/novokshonovp/following{/other_user}","gists_url":"https://api.github.com/users/novokshonovp/gists{/gist_id}","starred_url":"https://api.github.com/users/novokshonovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novokshonovp/subscriptions","organizations_url":"https://api.github.com/users/novokshonovp/orgs","repos_url":"https://api.github.com/users/novokshonovp/repos","events_url":"https://api.github.com/users/novokshonovp/events{/privacy}","received_events_url":"https://api.github.com/users/novokshonovp/received_events","type":"User","site_admin":false},"repo":{"id":104651357,"name":"mkdev-movies","full_name":"novokshonovp/mkdev-movies","owner":{"login":"novokshonovp","id":32157112,"avatar_url":"https://avatars0.githubusercontent.com/u/32157112?v=4","gravatar_id":"","url":"https://api.github.com/users/novokshonovp","html_url":"https://github.com/novokshonovp","followers_url":"https://api.github.com/users/novokshonovp/followers","following_url":"https://api.github.com/users/novokshonovp/following{/other_user}","gists_url":"https://api.github.com/users/novokshonovp/gists{/gist_id}","starred_url":"https://api.github.com/users/novokshonovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novokshonovp/subscriptions","organizations_url":"https://api.github.com/users/novokshonovp/orgs","repos_url":"https://api.github.com/users/novokshonovp/repos","events_url":"https://api.github.com/users/novokshonovp/events{/privacy}","received_events_url":"https://api.github.com/users/novokshonovp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/novokshonovp/mkdev-movies","description":null,"fork":false,"url":"https://api.github.com/repos/novokshonovp/mkdev-movies","forks_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/forks","keys_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/teams","hooks_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/hooks","issue_events_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/events{/number}","events_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/events","assignees_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/assignees{/user}","branches_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/branches{/branch}","tags_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/tags","blobs_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/refs{/sha}","trees_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/statuses/{sha}","languages_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/languages","stargazers_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/stargazers","contributors_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/contributors","subscribers_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/subscribers","subscription_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/subscription","commits_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/commits{/sha}","git_commits_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/git/commits{/sha}","comments_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/comments{/number}","issue_comment_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/comments{/number}","contents_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/contents/{+path}","compare_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/merges","archive_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/downloads","issues_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues{/number}","pulls_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls{/number}","milestones_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/milestones{/number}","notifications_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/labels{/name}","releases_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/releases{/id}","deployments_url":"https://api.github.com/repos/novokshonovp/mkdev-movies/deployments","created_at":"2017-09-24T14:43:46Z","updated_at":"2017-09-24T14:44:45Z","pushed_at":"2017-11-24T11:45:25Z","git_url":"git://github.com/novokshonovp/mkdev-movies.git","ssh_url":"git@github.com:novokshonovp/mkdev-movies.git","clone_url":"https://github.com/novokshonovp/mkdev-movies.git","svn_url":"https://github.com/novokshonovp/mkdev-movies","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8"},"html":{"href":"https://github.com/novokshonovp/mkdev-movies/pull/8"},"issue":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/8"},"comments":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/novokshonovp/mkdev-movies/statuses/73476d52d5e54610d5de2e0577459a710d470154"}},"author_association":"OWNER"}}
{"actor":{"display_login":"zverok"}}