{"action":"closed","number":181,"pull_request":{"url":"https://api.github.com/repos/usetint/tint/pulls/181","id":81666165,"html_url":"https://github.com/usetint/tint/pull/181","diff_url":"https://github.com/usetint/tint/pull/181.diff","patch_url":"https://github.com/usetint/tint/pull/181.patch","issue_url":"https://api.github.com/repos/usetint/tint/issues/181","number":181,"state":"closed","locked":false,"title":"Setup ability to test controllers.","user":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"body":"Now it should be relatively trivial to create new controller tests. The biggest change is that we now retrieve db via a method so we can stub it in tests.","created_at":"2016-08-17T15:38:39Z","updated_at":"2016-08-17T17:11:02Z","closed_at":"2016-08-17T17:11:02Z","merged_at":"2016-08-17T17:11:02Z","merge_commit_sha":"f97cabab592df95450258562fcb9ad367d15583f","assignee":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"assignees":[{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/usetint/tint/pulls/181/commits","review_comments_url":"https://api.github.com/repos/usetint/tint/pulls/181/comments","review_comment_url":"https://api.github.com/repos/usetint/tint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/usetint/tint/issues/181/comments","statuses_url":"https://api.github.com/repos/usetint/tint/statuses/92d7b546620ba280bd1392a8525ce28ab6e67307","head":{"label":"ericroberts:test-file-controller","ref":"test-file-controller","sha":"92d7b546620ba280bd1392a8525ce28ab6e67307","user":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"repo":{"id":64771803,"name":"tint","full_name":"ericroberts/tint","owner":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericroberts/tint","description":null,"fork":true,"url":"https://api.github.com/repos/ericroberts/tint","forks_url":"https://api.github.com/repos/ericroberts/tint/forks","keys_url":"https://api.github.com/repos/ericroberts/tint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericroberts/tint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericroberts/tint/teams","hooks_url":"https://api.github.com/repos/ericroberts/tint/hooks","issue_events_url":"https://api.github.com/repos/ericroberts/tint/issues/events{/number}","events_url":"https://api.github.com/repos/ericroberts/tint/events","assignees_url":"https://api.github.com/repos/ericroberts/tint/assignees{/user}","branches_url":"https://api.github.com/repos/ericroberts/tint/branches{/branch}","tags_url":"https://api.github.com/repos/ericroberts/tint/tags","blobs_url":"https://api.github.com/repos/ericroberts/tint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericroberts/tint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericroberts/tint/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericroberts/tint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericroberts/tint/statuses/{sha}","languages_url":"https://api.github.com/repos/ericroberts/tint/languages","stargazers_url":"https://api.github.com/repos/ericroberts/tint/stargazers","contributors_url":"https://api.github.com/repos/ericroberts/tint/contributors","subscribers_url":"https://api.github.com/repos/ericroberts/tint/subscribers","subscription_url":"https://api.github.com/repos/ericroberts/tint/subscription","commits_url":"https://api.github.com/repos/ericroberts/tint/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericroberts/tint/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericroberts/tint/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericroberts/tint/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericroberts/tint/contents/{+path}","compare_url":"https://api.github.com/repos/ericroberts/tint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericroberts/tint/merges","archive_url":"https://api.github.com/repos/ericroberts/tint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericroberts/tint/downloads","issues_url":"https://api.github.com/repos/ericroberts/tint/issues{/number}","pulls_url":"https://api.github.com/repos/ericroberts/tint/pulls{/number}","milestones_url":"https://api.github.com/repos/ericroberts/tint/milestones{/number}","notifications_url":"https://api.github.com/repos/ericroberts/tint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericroberts/tint/labels{/name}","releases_url":"https://api.github.com/repos/ericroberts/tint/releases{/id}","deployments_url":"https://api.github.com/repos/ericroberts/tint/deployments","created_at":"2016-08-02T16:04:25Z","updated_at":"2016-08-02T16:04:26Z","pushed_at":"2016-08-17T17:01:37Z","git_url":"git://github.com/ericroberts/tint.git","ssh_url":"git@github.com:ericroberts/tint.git","clone_url":"https://github.com/ericroberts/tint.git","svn_url":"https://github.com/ericroberts/tint","homepage":null,"size":1736,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"usetint:master","ref":"master","sha":"bbaeeee3a454448d478cc907829e718ea8d108dd","user":{"login":"usetint","id":20583435,"avatar_url":"https://avatars.githubusercontent.com/u/20583435?v=3","gravatar_id":"","url":"https://api.github.com/users/usetint","html_url":"https://github.com/usetint","followers_url":"https://api.github.com/users/usetint/followers","following_url":"https://api.github.com/users/usetint/following{/other_user}","gists_url":"https://api.github.com/users/usetint/gists{/gist_id}","starred_url":"https://api.github.com/users/usetint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usetint/subscriptions","organizations_url":"https://api.github.com/users/usetint/orgs","repos_url":"https://api.github.com/users/usetint/repos","events_url":"https://api.github.com/users/usetint/events{/privacy}","received_events_url":"https://api.github.com/users/usetint/received_events","type":"Organization","site_admin":false},"repo":{"id":63621954,"name":"tint","full_name":"usetint/tint","owner":{"login":"usetint","id":20583435,"avatar_url":"https://avatars.githubusercontent.com/u/20583435?v=3","gravatar_id":"","url":"https://api.github.com/users/usetint","html_url":"https://github.com/usetint","followers_url":"https://api.github.com/users/usetint/followers","following_url":"https://api.github.com/users/usetint/following{/other_user}","gists_url":"https://api.github.com/users/usetint/gists{/gist_id}","starred_url":"https://api.github.com/users/usetint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usetint/subscriptions","organizations_url":"https://api.github.com/users/usetint/orgs","repos_url":"https://api.github.com/users/usetint/repos","events_url":"https://api.github.com/users/usetint/events{/privacy}","received_events_url":"https://api.github.com/users/usetint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/usetint/tint","description":null,"fork":false,"url":"https://api.github.com/repos/usetint/tint","forks_url":"https://api.github.com/repos/usetint/tint/forks","keys_url":"https://api.github.com/repos/usetint/tint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usetint/tint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usetint/tint/teams","hooks_url":"https://api.github.com/repos/usetint/tint/hooks","issue_events_url":"https://api.github.com/repos/usetint/tint/issues/events{/number}","events_url":"https://api.github.com/repos/usetint/tint/events","assignees_url":"https://api.github.com/repos/usetint/tint/assignees{/user}","branches_url":"https://api.github.com/repos/usetint/tint/branches{/branch}","tags_url":"https://api.github.com/repos/usetint/tint/tags","blobs_url":"https://api.github.com/repos/usetint/tint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usetint/tint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usetint/tint/git/refs{/sha}","trees_url":"https://api.github.com/repos/usetint/tint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usetint/tint/statuses/{sha}","languages_url":"https://api.github.com/repos/usetint/tint/languages","stargazers_url":"https://api.github.com/repos/usetint/tint/stargazers","contributors_url":"https://api.github.com/repos/usetint/tint/contributors","subscribers_url":"https://api.github.com/repos/usetint/tint/subscribers","subscription_url":"https://api.github.com/repos/usetint/tint/subscription","commits_url":"https://api.github.com/repos/usetint/tint/commits{/sha}","git_commits_url":"https://api.github.com/repos/usetint/tint/git/commits{/sha}","comments_url":"https://api.github.com/repos/usetint/tint/comments{/number}","issue_comment_url":"https://api.github.com/repos/usetint/tint/issues/comments{/number}","contents_url":"https://api.github.com/repos/usetint/tint/contents/{+path}","compare_url":"https://api.github.com/repos/usetint/tint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usetint/tint/merges","archive_url":"https://api.github.com/repos/usetint/tint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usetint/tint/downloads","issues_url":"https://api.github.com/repos/usetint/tint/issues{/number}","pulls_url":"https://api.github.com/repos/usetint/tint/pulls{/number}","milestones_url":"https://api.github.com/repos/usetint/tint/milestones{/number}","notifications_url":"https://api.github.com/repos/usetint/tint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usetint/tint/labels{/name}","releases_url":"https://api.github.com/repos/usetint/tint/releases{/id}","deployments_url":"https://api.github.com/repos/usetint/tint/deployments","created_at":"2016-07-18T17:09:29Z","updated_at":"2016-07-21T17:23:18Z","pushed_at":"2016-08-17T17:11:02Z","git_url":"git://github.com/usetint/tint.git","ssh_url":"git@github.com:usetint/tint.git","clone_url":"https://github.com/usetint/tint.git","svn_url":"https://github.com/usetint/tint","homepage":null,"size":1729,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":37,"forks":2,"open_issues":37,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/usetint/tint/pulls/181"},"html":{"href":"https://github.com/usetint/tint/pull/181"},"issue":{"href":"https://api.github.com/repos/usetint/tint/issues/181"},"comments":{"href":"https://api.github.com/repos/usetint/tint/issues/181/comments"},"review_comments":{"href":"https://api.github.com/repos/usetint/tint/pulls/181/comments"},"review_comment":{"href":"https://api.github.com/repos/usetint/tint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/usetint/tint/pulls/181/commits"},"statuses":{"href":"https://api.github.com/repos/usetint/tint/statuses/92d7b546620ba280bd1392a8525ce28ab6e67307"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":5,"additions":274,"deletions":61,"changed_files":12}}
{"actor":{"display_login":"singpolyma"}}