{"action":"created","comment":{"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments/51583910","id":51583910,"diff_hunk":"@@ -3,14 +3,23 @@\n require_relative '../../../test/fixtures/lists_factory'\n \n module Lists\n-  class TodoListest < ActiveSupport::TestCase\n+  class TodoListTest < ActiveSupport::TestCase\n     include FactoryGirl::Syntax::Methods\n \n     def setup\n       @todo_list = TodoList.new\n     end\n-    test 'lists owned by user' do\n-      assert_equal [build(:university_list)], todo_list.owned_by(build(:valid_user))\n+\n+    test 'lists owned by user on first page' do\n+      assert_equal [build(:university_list), build(:university_list2), build(:university_list3) ], todo_list.owned_by(build(:valid_user))\n+    end","path":"test/logic/lists/todo_list_test.rb","position":16,"original_position":16,"commit_id":"38eba6ac86b4de1160148962714a126be87dfb83","original_commit_id":"38eba6ac86b4de1160148962714a126be87dfb83","user":{"login":"serhiir","id":16033240,"avatar_url":"https://avatars.githubusercontent.com/u/16033240?v=3","gravatar_id":"","url":"https://api.github.com/users/serhiir","html_url":"https://github.com/serhiir","followers_url":"https://api.github.com/users/serhiir/followers","following_url":"https://api.github.com/users/serhiir/following{/other_user}","gists_url":"https://api.github.com/users/serhiir/gists{/gist_id}","starred_url":"https://api.github.com/users/serhiir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serhiir/subscriptions","organizations_url":"https://api.github.com/users/serhiir/orgs","repos_url":"https://api.github.com/users/serhiir/repos","events_url":"https://api.github.com/users/serhiir/events{/privacy}","received_events_url":"https://api.github.com/users/serhiir/received_events","type":"User","site_admin":false},"body":"@anatoliikryvishyn So you decided that by default that's the first portion (the first page) of user's lists. As far as I remember we discussed method is to return all lists of the user (if no page is passed). But I'm okay with the current implementation.","created_at":"2016-02-02T15:34:17Z","updated_at":"2016-02-02T15:34:17Z","html_url":"https://github.com/anatoliikryvishyn/TaDa/pull/20#discussion_r51583910","pull_request_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments/51583910"},"html":{"href":"https://github.com/anatoliikryvishyn/TaDa/pull/20#discussion_r51583910"},"pull_request":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20","id":57384137,"html_url":"https://github.com/anatoliikryvishyn/TaDa/pull/20","diff_url":"https://github.com/anatoliikryvishyn/TaDa/pull/20.diff","patch_url":"https://github.com/anatoliikryvishyn/TaDa/pull/20.patch","issue_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/20","number":20,"state":"open","locked":false,"title":"A user can navigate through the pages of lists","user":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-27T16:25:54Z","updated_at":"2016-02-02T15:34:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8b0ff530b9f8d63f10c92d1f275056aeb5b2eb8","assignee":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones/8","html_url":"https://github.com/anatoliikryvishyn/TaDa/milestones/Add%20pagination","labels_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones/8/labels","id":1530520,"number":8,"title":"Add pagination","description":"","creator":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"closed","created_at":"2016-01-21T07:57:14Z","updated_at":"2016-02-01T14:06:51Z","due_on":"2016-01-26T22:00:00Z","closed_at":"2016-01-28T08:41:32Z"},"commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20/commits","review_comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20/comments","review_comment_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/20/comments","statuses_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/38eba6ac86b4de1160148962714a126be87dfb83","head":{"label":"anatoliikryvishyn:17-add-list-pagination","ref":"17-add-list-pagination","sha":"38eba6ac86b4de1160148962714a126be87dfb83","user":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"repo":{"id":46796979,"name":"TaDa","full_name":"anatoliikryvishyn/TaDa","owner":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anatoliikryvishyn/TaDa","description":"","fork":false,"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa","forks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/forks","keys_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/teams","hooks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/hooks","issue_events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/events{/number}","events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/events","assignees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/assignees{/user}","branches_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/branches{/branch}","tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/tags","blobs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/refs{/sha}","trees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/{sha}","languages_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/languages","stargazers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/stargazers","contributors_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contributors","subscribers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscribers","subscription_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscription","commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/commits{/sha}","git_commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/commits{/sha}","comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/comments{/number}","issue_comment_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/comments{/number}","contents_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contents/{+path}","compare_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/merges","archive_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/downloads","issues_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues{/number}","pulls_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls{/number}","milestones_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones{/number}","notifications_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/labels{/name}","releases_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/releases{/id}","deployments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/deployments","created_at":"2015-11-24T14:32:02Z","updated_at":"2016-01-25T10:25:44Z","pushed_at":"2016-02-02T12:36:34Z","git_url":"git://github.com/anatoliikryvishyn/TaDa.git","ssh_url":"git@github.com:anatoliikryvishyn/TaDa.git","clone_url":"https://github.com/anatoliikryvishyn/TaDa.git","svn_url":"https://github.com/anatoliikryvishyn/TaDa","homepage":null,"size":804,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"anatoliikryvishyn:master","ref":"master","sha":"669b153a77277593c5f34f309f4b7d6942a184a7","user":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"repo":{"id":46796979,"name":"TaDa","full_name":"anatoliikryvishyn/TaDa","owner":{"login":"anatoliikryvishyn","id":9845250,"avatar_url":"https://avatars.githubusercontent.com/u/9845250?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliikryvishyn","html_url":"https://github.com/anatoliikryvishyn","followers_url":"https://api.github.com/users/anatoliikryvishyn/followers","following_url":"https://api.github.com/users/anatoliikryvishyn/following{/other_user}","gists_url":"https://api.github.com/users/anatoliikryvishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliikryvishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliikryvishyn/subscriptions","organizations_url":"https://api.github.com/users/anatoliikryvishyn/orgs","repos_url":"https://api.github.com/users/anatoliikryvishyn/repos","events_url":"https://api.github.com/users/anatoliikryvishyn/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliikryvishyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anatoliikryvishyn/TaDa","description":"","fork":false,"url":"https://api.github.com/repos/anatoliikryvishyn/TaDa","forks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/forks","keys_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/teams","hooks_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/hooks","issue_events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/events{/number}","events_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/events","assignees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/assignees{/user}","branches_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/branches{/branch}","tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/tags","blobs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/refs{/sha}","trees_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/{sha}","languages_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/languages","stargazers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/stargazers","contributors_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contributors","subscribers_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscribers","subscription_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/subscription","commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/commits{/sha}","git_commits_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/git/commits{/sha}","comments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/comments{/number}","issue_comment_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/comments{/number}","contents_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/contents/{+path}","compare_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/merges","archive_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/downloads","issues_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues{/number}","pulls_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls{/number}","milestones_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/milestones{/number}","notifications_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/labels{/name}","releases_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/releases{/id}","deployments_url":"https://api.github.com/repos/anatoliikryvishyn/TaDa/deployments","created_at":"2015-11-24T14:32:02Z","updated_at":"2016-01-25T10:25:44Z","pushed_at":"2016-02-02T12:36:34Z","git_url":"git://github.com/anatoliikryvishyn/TaDa.git","ssh_url":"git@github.com:anatoliikryvishyn/TaDa.git","clone_url":"https://github.com/anatoliikryvishyn/TaDa.git","svn_url":"https://github.com/anatoliikryvishyn/TaDa","homepage":null,"size":804,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20"},"html":{"href":"https://github.com/anatoliikryvishyn/TaDa/pull/20"},"issue":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/20"},"comments":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/anatoliikryvishyn/TaDa/statuses/38eba6ac86b4de1160148962714a126be87dfb83"}}}}