{"action":"created","comment":{"url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/comments/55204330","id":55204330,"diff_hunk":"@@ -0,0 +1,128 @@\n+require 'movie_list'\n+\n+describe \"MovieList\" do\n+  let!(:movies) { build(:movie_list) }\n+\n+  describe \"#add_sort_algo\" do\n+    it \"stores algorithms\" do\n+      movies.add_sort_algo(:genres_years) { |movie| [movie.genre, movie.year] }\n+      expect(movies.algos).to include { |movie| [movie.genre, movie.year] }","path":"spec/lib/movie_list_spec.rb","position":9,"original_position":9,"commit_id":"9415a247188635c8b7446e8cc3c8efeb93533fa1","original_commit_id":"2035384bab91beaa2cda3abc8433176507d71c80","user":{"login":"zverok","id":129656,"avatar_url":"https://avatars.githubusercontent.com/u/129656?v=3","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":"По-моему, этот код работает вовсе не так, как ты ожидаешь :) Попробуй поменять содержимое второго блока (который проверяешь на include).","created_at":"2016-03-07T13:44:57Z","updated_at":"2016-03-07T13:44:57Z","html_url":"https://github.com/odinsy/imdb-data-parser/pull/10#discussion_r55204330","pull_request_url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/comments/55204330"},"html":{"href":"https://github.com/odinsy/imdb-data-parser/pull/10#discussion_r55204330"},"pull_request":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10","id":61861095,"html_url":"https://github.com/odinsy/imdb-data-parser/pull/10","diff_url":"https://github.com/odinsy/imdb-data-parser/pull/10.diff","patch_url":"https://github.com/odinsy/imdb-data-parser/pull/10.patch","issue_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/10","number":10,"state":"open","locked":false,"title":"Test coverage & themoviedb.org API wrapper","user":{"login":"odinsy","id":12398444,"avatar_url":"https://avatars.githubusercontent.com/u/12398444?v=3","gravatar_id":"","url":"https://api.github.com/users/odinsy","html_url":"https://github.com/odinsy","followers_url":"https://api.github.com/users/odinsy/followers","following_url":"https://api.github.com/users/odinsy/following{/other_user}","gists_url":"https://api.github.com/users/odinsy/gists{/gist_id}","starred_url":"https://api.github.com/users/odinsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinsy/subscriptions","organizations_url":"https://api.github.com/users/odinsy/orgs","repos_url":"https://api.github.com/users/odinsy/repos","events_url":"https://api.github.com/users/odinsy/events{/privacy}","received_events_url":"https://api.github.com/users/odinsy/received_events","type":"User","site_admin":false},"body":"\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/odinsy/imdb-data-parser/10)\n<!-- Reviewable:end -->\n","created_at":"2016-03-07T00:25:01Z","updated_at":"2016-03-07T13:44:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcca5e838efb20591f3afd788fcdd651ca5970b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10/commits","review_comments_url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10/comments","review_comment_url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/10/comments","statuses_url":"https://api.github.com/repos/odinsy/imdb-data-parser/statuses/9415a247188635c8b7446e8cc3c8efeb93533fa1","head":{"label":"odinsy:tenth-task","ref":"tenth-task","sha":"9415a247188635c8b7446e8cc3c8efeb93533fa1","user":{"login":"odinsy","id":12398444,"avatar_url":"https://avatars.githubusercontent.com/u/12398444?v=3","gravatar_id":"","url":"https://api.github.com/users/odinsy","html_url":"https://github.com/odinsy","followers_url":"https://api.github.com/users/odinsy/followers","following_url":"https://api.github.com/users/odinsy/following{/other_user}","gists_url":"https://api.github.com/users/odinsy/gists{/gist_id}","starred_url":"https://api.github.com/users/odinsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinsy/subscriptions","organizations_url":"https://api.github.com/users/odinsy/orgs","repos_url":"https://api.github.com/users/odinsy/repos","events_url":"https://api.github.com/users/odinsy/events{/privacy}","received_events_url":"https://api.github.com/users/odinsy/received_events","type":"User","site_admin":false},"repo":{"id":47921895,"name":"imdb-data-parser","full_name":"odinsy/imdb-data-parser","owner":{"login":"odinsy","id":12398444,"avatar_url":"https://avatars.githubusercontent.com/u/12398444?v=3","gravatar_id":"","url":"https://api.github.com/users/odinsy","html_url":"https://github.com/odinsy","followers_url":"https://api.github.com/users/odinsy/followers","following_url":"https://api.github.com/users/odinsy/following{/other_user}","gists_url":"https://api.github.com/users/odinsy/gists{/gist_id}","starred_url":"https://api.github.com/users/odinsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinsy/subscriptions","organizations_url":"https://api.github.com/users/odinsy/orgs","repos_url":"https://api.github.com/users/odinsy/repos","events_url":"https://api.github.com/users/odinsy/events{/privacy}","received_events_url":"https://api.github.com/users/odinsy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/odinsy/imdb-data-parser","description":"","fork":false,"url":"https://api.github.com/repos/odinsy/imdb-data-parser","forks_url":"https://api.github.com/repos/odinsy/imdb-data-parser/forks","keys_url":"https://api.github.com/repos/odinsy/imdb-data-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odinsy/imdb-data-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odinsy/imdb-data-parser/teams","hooks_url":"https://api.github.com/repos/odinsy/imdb-data-parser/hooks","issue_events_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/events{/number}","events_url":"https://api.github.com/repos/odinsy/imdb-data-parser/events","assignees_url":"https://api.github.com/repos/odinsy/imdb-data-parser/assignees{/user}","branches_url":"https://api.github.com/repos/odinsy/imdb-data-parser/branches{/branch}","tags_url":"https://api.github.com/repos/odinsy/imdb-data-parser/tags","blobs_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odinsy/imdb-data-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/odinsy/imdb-data-parser/languages","stargazers_url":"https://api.github.com/repos/odinsy/imdb-data-parser/stargazers","contributors_url":"https://api.github.com/repos/odinsy/imdb-data-parser/contributors","subscribers_url":"https://api.github.com/repos/odinsy/imdb-data-parser/subscribers","subscription_url":"https://api.github.com/repos/odinsy/imdb-data-parser/subscription","commits_url":"https://api.github.com/repos/odinsy/imdb-data-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/odinsy/imdb-data-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/odinsy/imdb-data-parser/contents/{+path}","compare_url":"https://api.github.com/repos/odinsy/imdb-data-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odinsy/imdb-data-parser/merges","archive_url":"https://api.github.com/repos/odinsy/imdb-data-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odinsy/imdb-data-parser/downloads","issues_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues{/number}","pulls_url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/odinsy/imdb-data-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/odinsy/imdb-data-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odinsy/imdb-data-parser/labels{/name}","releases_url":"https://api.github.com/repos/odinsy/imdb-data-parser/releases{/id}","deployments_url":"https://api.github.com/repos/odinsy/imdb-data-parser/deployments","created_at":"2015-12-13T14:15:08Z","updated_at":"2016-01-23T21:27:14Z","pushed_at":"2016-03-07T10:24:39Z","git_url":"git://github.com/odinsy/imdb-data-parser.git","ssh_url":"git@github.com:odinsy/imdb-data-parser.git","clone_url":"https://github.com/odinsy/imdb-data-parser.git","svn_url":"https://github.com/odinsy/imdb-data-parser","homepage":null,"size":246,"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":"odinsy:master","ref":"master","sha":"9c285262ba4c7b8da76dfab15d1a1a490bf01b11","user":{"login":"odinsy","id":12398444,"avatar_url":"https://avatars.githubusercontent.com/u/12398444?v=3","gravatar_id":"","url":"https://api.github.com/users/odinsy","html_url":"https://github.com/odinsy","followers_url":"https://api.github.com/users/odinsy/followers","following_url":"https://api.github.com/users/odinsy/following{/other_user}","gists_url":"https://api.github.com/users/odinsy/gists{/gist_id}","starred_url":"https://api.github.com/users/odinsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinsy/subscriptions","organizations_url":"https://api.github.com/users/odinsy/orgs","repos_url":"https://api.github.com/users/odinsy/repos","events_url":"https://api.github.com/users/odinsy/events{/privacy}","received_events_url":"https://api.github.com/users/odinsy/received_events","type":"User","site_admin":false},"repo":{"id":47921895,"name":"imdb-data-parser","full_name":"odinsy/imdb-data-parser","owner":{"login":"odinsy","id":12398444,"avatar_url":"https://avatars.githubusercontent.com/u/12398444?v=3","gravatar_id":"","url":"https://api.github.com/users/odinsy","html_url":"https://github.com/odinsy","followers_url":"https://api.github.com/users/odinsy/followers","following_url":"https://api.github.com/users/odinsy/following{/other_user}","gists_url":"https://api.github.com/users/odinsy/gists{/gist_id}","starred_url":"https://api.github.com/users/odinsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinsy/subscriptions","organizations_url":"https://api.github.com/users/odinsy/orgs","repos_url":"https://api.github.com/users/odinsy/repos","events_url":"https://api.github.com/users/odinsy/events{/privacy}","received_events_url":"https://api.github.com/users/odinsy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/odinsy/imdb-data-parser","description":"","fork":false,"url":"https://api.github.com/repos/odinsy/imdb-data-parser","forks_url":"https://api.github.com/repos/odinsy/imdb-data-parser/forks","keys_url":"https://api.github.com/repos/odinsy/imdb-data-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odinsy/imdb-data-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odinsy/imdb-data-parser/teams","hooks_url":"https://api.github.com/repos/odinsy/imdb-data-parser/hooks","issue_events_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/events{/number}","events_url":"https://api.github.com/repos/odinsy/imdb-data-parser/events","assignees_url":"https://api.github.com/repos/odinsy/imdb-data-parser/assignees{/user}","branches_url":"https://api.github.com/repos/odinsy/imdb-data-parser/branches{/branch}","tags_url":"https://api.github.com/repos/odinsy/imdb-data-parser/tags","blobs_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odinsy/imdb-data-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/odinsy/imdb-data-parser/languages","stargazers_url":"https://api.github.com/repos/odinsy/imdb-data-parser/stargazers","contributors_url":"https://api.github.com/repos/odinsy/imdb-data-parser/contributors","subscribers_url":"https://api.github.com/repos/odinsy/imdb-data-parser/subscribers","subscription_url":"https://api.github.com/repos/odinsy/imdb-data-parser/subscription","commits_url":"https://api.github.com/repos/odinsy/imdb-data-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/odinsy/imdb-data-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/odinsy/imdb-data-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/odinsy/imdb-data-parser/contents/{+path}","compare_url":"https://api.github.com/repos/odinsy/imdb-data-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odinsy/imdb-data-parser/merges","archive_url":"https://api.github.com/repos/odinsy/imdb-data-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odinsy/imdb-data-parser/downloads","issues_url":"https://api.github.com/repos/odinsy/imdb-data-parser/issues{/number}","pulls_url":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/odinsy/imdb-data-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/odinsy/imdb-data-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odinsy/imdb-data-parser/labels{/name}","releases_url":"https://api.github.com/repos/odinsy/imdb-data-parser/releases{/id}","deployments_url":"https://api.github.com/repos/odinsy/imdb-data-parser/deployments","created_at":"2015-12-13T14:15:08Z","updated_at":"2016-01-23T21:27:14Z","pushed_at":"2016-03-07T10:24:39Z","git_url":"git://github.com/odinsy/imdb-data-parser.git","ssh_url":"git@github.com:odinsy/imdb-data-parser.git","clone_url":"https://github.com/odinsy/imdb-data-parser.git","svn_url":"https://github.com/odinsy/imdb-data-parser","homepage":null,"size":246,"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/odinsy/imdb-data-parser/pulls/10"},"html":{"href":"https://github.com/odinsy/imdb-data-parser/pull/10"},"issue":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/10"},"comments":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/odinsy/imdb-data-parser/statuses/9415a247188635c8b7446e8cc3c8efeb93533fa1"}}}}