{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/22524862","id":22524862,"diff_hunk":"@@ -1,11 +1,34 @@\n require 'rails_helper'\n \n+\n RSpec.describe \"hq/partners/index.html.erb\", type: :view do\n   context 'partners exist' do\n+    let(:partners) do\n+      17.times do","path":"spec/views/hq/partners/index_spec.rb","position":7,"original_position":7,"commit_id":"fc63b036c959caa7caadfa079226a1612bc4578f","original_commit_id":"fc63b036c959caa7caadfa079226a1612bc4578f","user":{"login":"NikitaAvvakumov","id":5029403,"avatar_url":"https://avatars.githubusercontent.com/u/5029403?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaAvvakumov","html_url":"https://github.com/NikitaAvvakumov","followers_url":"https://api.github.com/users/NikitaAvvakumov/followers","following_url":"https://api.github.com/users/NikitaAvvakumov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaAvvakumov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaAvvakumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaAvvakumov/subscriptions","organizations_url":"https://api.github.com/users/NikitaAvvakumov/orgs","repos_url":"https://api.github.com/users/NikitaAvvakumov/repos","events_url":"https://api.github.com/users/NikitaAvvakumov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaAvvakumov/received_events","type":"User","site_admin":false},"body":"http://mislav.uniqpath.com/rails/will_paginate-view-testing/ - the gem's author explains how to test without hitting the db at all.\r\nThat article also addresses my concern about the fact that the tests `calls will_paginate` and `calls page_entries_info` might just be too low-level. This is a view spec - should we test that it renders required data or selectors, rather than that it simply makes method calls?","created_at":"2015-01-06T14:29:43Z","updated_at":"2015-01-06T14:29:43Z","html_url":"https://github.com/AgileVentures/osra/pull/240#discussion_r22524862","pull_request_url":"https://api.github.com/repos/AgileVentures/osra/pulls/240","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/22524862"},"html":{"href":"https://github.com/AgileVentures/osra/pull/240#discussion_r22524862"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/240"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/240","id":26619746,"html_url":"https://github.com/AgileVentures/osra/pull/240","diff_url":"https://github.com/AgileVentures/osra/pull/240.diff","patch_url":"https://github.com/AgileVentures/osra/pull/240.patch","issue_url":"https://api.github.com/repos/AgileVentures/osra/issues/240","number":240,"state":"open","locked":false,"title":"Osra282 implement pagination","user":{"login":"evo2013","id":5614700,"avatar_url":"https://avatars.githubusercontent.com/u/5614700?v=3","gravatar_id":"","url":"https://api.github.com/users/evo2013","html_url":"https://github.com/evo2013","followers_url":"https://api.github.com/users/evo2013/followers","following_url":"https://api.github.com/users/evo2013/following{/other_user}","gists_url":"https://api.github.com/users/evo2013/gists{/gist_id}","starred_url":"https://api.github.com/users/evo2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evo2013/subscriptions","organizations_url":"https://api.github.com/users/evo2013/orgs","repos_url":"https://api.github.com/users/evo2013/repos","events_url":"https://api.github.com/users/evo2013/events{/privacy}","received_events_url":"https://api.github.com/users/evo2013/received_events","type":"User","site_admin":false},"body":"Finished this sub-task for pagination & Display the number of pages total.\r\n https://osraav.atlassian.net/browse/OSRA-282\r\n","created_at":"2014-12-28T01:17:19Z","updated_at":"2015-01-06T14:29:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9209638dcc0e2f3b0262a72eb59b4a029362652f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/osra/pulls/240/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/osra/pulls/240/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/osra/issues/240/comments","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/fc63b036c959caa7caadfa079226a1612bc4578f","head":{"label":"evo2013:osra282_implement_pagination","ref":"osra282_implement_pagination","sha":"fc63b036c959caa7caadfa079226a1612bc4578f","user":{"login":"evo2013","id":5614700,"avatar_url":"https://avatars.githubusercontent.com/u/5614700?v=3","gravatar_id":"","url":"https://api.github.com/users/evo2013","html_url":"https://github.com/evo2013","followers_url":"https://api.github.com/users/evo2013/followers","following_url":"https://api.github.com/users/evo2013/following{/other_user}","gists_url":"https://api.github.com/users/evo2013/gists{/gist_id}","starred_url":"https://api.github.com/users/evo2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evo2013/subscriptions","organizations_url":"https://api.github.com/users/evo2013/orgs","repos_url":"https://api.github.com/users/evo2013/repos","events_url":"https://api.github.com/users/evo2013/events{/privacy}","received_events_url":"https://api.github.com/users/evo2013/received_events","type":"User","site_admin":false},"repo":{"id":27012148,"name":"osra","full_name":"evo2013/osra","owner":{"login":"evo2013","id":5614700,"avatar_url":"https://avatars.githubusercontent.com/u/5614700?v=3","gravatar_id":"","url":"https://api.github.com/users/evo2013","html_url":"https://github.com/evo2013","followers_url":"https://api.github.com/users/evo2013/followers","following_url":"https://api.github.com/users/evo2013/following{/other_user}","gists_url":"https://api.github.com/users/evo2013/gists{/gist_id}","starred_url":"https://api.github.com/users/evo2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evo2013/subscriptions","organizations_url":"https://api.github.com/users/evo2013/orgs","repos_url":"https://api.github.com/users/evo2013/repos","events_url":"https://api.github.com/users/evo2013/events{/privacy}","received_events_url":"https://api.github.com/users/evo2013/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evo2013/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":true,"url":"https://api.github.com/repos/evo2013/osra","forks_url":"https://api.github.com/repos/evo2013/osra/forks","keys_url":"https://api.github.com/repos/evo2013/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evo2013/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evo2013/osra/teams","hooks_url":"https://api.github.com/repos/evo2013/osra/hooks","issue_events_url":"https://api.github.com/repos/evo2013/osra/issues/events{/number}","events_url":"https://api.github.com/repos/evo2013/osra/events","assignees_url":"https://api.github.com/repos/evo2013/osra/assignees{/user}","branches_url":"https://api.github.com/repos/evo2013/osra/branches{/branch}","tags_url":"https://api.github.com/repos/evo2013/osra/tags","blobs_url":"https://api.github.com/repos/evo2013/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evo2013/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evo2013/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/evo2013/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evo2013/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/evo2013/osra/languages","stargazers_url":"https://api.github.com/repos/evo2013/osra/stargazers","contributors_url":"https://api.github.com/repos/evo2013/osra/contributors","subscribers_url":"https://api.github.com/repos/evo2013/osra/subscribers","subscription_url":"https://api.github.com/repos/evo2013/osra/subscription","commits_url":"https://api.github.com/repos/evo2013/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/evo2013/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/evo2013/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/evo2013/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/evo2013/osra/contents/{+path}","compare_url":"https://api.github.com/repos/evo2013/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evo2013/osra/merges","archive_url":"https://api.github.com/repos/evo2013/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evo2013/osra/downloads","issues_url":"https://api.github.com/repos/evo2013/osra/issues{/number}","pulls_url":"https://api.github.com/repos/evo2013/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/evo2013/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/evo2013/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evo2013/osra/labels{/name}","releases_url":"https://api.github.com/repos/evo2013/osra/releases{/id}","created_at":"2014-11-22T20:50:22Z","updated_at":"2014-12-28T01:01:17Z","pushed_at":"2015-01-05T02:58:30Z","git_url":"git://github.com/evo2013/osra.git","ssh_url":"git@github.com:evo2013/osra.git","clone_url":"https://github.com/evo2013/osra.git","svn_url":"https://github.com/evo2013/osra","homepage":null,"size":1508,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"e44853f614c3f0177f6353913d6f03c2e5f23c20","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":18855271,"name":"osra","full_name":"AgileVentures/osra","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/osra","description":"Sponsor orphans in Syria & ensure basic life & education requirements for Syrian children","fork":false,"url":"https://api.github.com/repos/AgileVentures/osra","forks_url":"https://api.github.com/repos/AgileVentures/osra/forks","keys_url":"https://api.github.com/repos/AgileVentures/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/osra/teams","hooks_url":"https://api.github.com/repos/AgileVentures/osra/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/osra/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/osra/events","assignees_url":"https://api.github.com/repos/AgileVentures/osra/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/osra/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/osra/tags","blobs_url":"https://api.github.com/repos/AgileVentures/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/osra/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/osra/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/osra/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/osra/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/osra/subscription","commits_url":"https://api.github.com/repos/AgileVentures/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/AgileVentures/osra/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/osra/merges","archive_url":"https://api.github.com/repos/AgileVentures/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/osra/downloads","issues_url":"https://api.github.com/repos/AgileVentures/osra/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/osra/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/osra/releases{/id}","created_at":"2014-04-16T20:43:09Z","updated_at":"2015-01-06T12:59:30Z","pushed_at":"2015-01-06T13:17:38Z","git_url":"git://github.com/AgileVentures/osra.git","ssh_url":"git@github.com:AgileVentures/osra.git","clone_url":"https://github.com/AgileVentures/osra.git","svn_url":"https://github.com/AgileVentures/osra","homepage":"","size":3994,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":9,"forks":28,"open_issues":9,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/240"},"html":{"href":"https://github.com/AgileVentures/osra/pull/240"},"issue":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/240"},"comments":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/osra/statuses/fc63b036c959caa7caadfa079226a1612bc4578f"}}}}