{"action":"opened","number":225,"pull_request":{"url":"https://api.github.com/repos/sfu/canvas-lms/pulls/225","id":45350891,"html_url":"https://github.com/sfu/canvas-lms/pull/225","diff_url":"https://github.com/sfu/canvas-lms/pull/225.diff","patch_url":"https://github.com/sfu/canvas-lms/pull/225.patch","issue_url":"https://api.github.com/repos/sfu/canvas-lms/issues/225","number":225,"state":"open","locked":false,"title":"Add tests for the sfu_api plugin","user":{"login":"grahamb","id":146111,"avatar_url":"https://avatars.githubusercontent.com/u/146111?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamb","html_url":"https://github.com/grahamb","followers_url":"https://api.github.com/users/grahamb/followers","following_url":"https://api.github.com/users/grahamb/following{/other_user}","gists_url":"https://api.github.com/users/grahamb/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamb/subscriptions","organizations_url":"https://api.github.com/users/grahamb/orgs","repos_url":"https://api.github.com/users/grahamb/repos","events_url":"https://api.github.com/users/grahamb/events{/privacy}","received_events_url":"https://api.github.com/users/grahamb/received_events","type":"User","site_admin":false},"body":"This adds a test suite to the sfu_api plugin. The suite performs\r\nfunctional tests on all of the routes described in config/routes.rb.\r\n\r\nTest plan:\r\n\r\n* clone this PR\r\n* `vagrant up && vagrant ssh`\r\n* `cd /vagrant && bundle exec rspec vendor/plugins/sfu_api`\r\n\r\nAll tests should pass; there should be no failures.\r\n\r\nGoing forward, all changes to the sfu_api must have passing tests.","created_at":"2015-09-17T22:40:21Z","updated_at":"2015-09-17T22:40:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sfu/canvas-lms/pulls/225/commits","review_comments_url":"https://api.github.com/repos/sfu/canvas-lms/pulls/225/comments","review_comment_url":"https://api.github.com/repos/sfu/canvas-lms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sfu/canvas-lms/issues/225/comments","statuses_url":"https://api.github.com/repos/sfu/canvas-lms/statuses/c5e486e8344284149e7846e640ad00a77fd75362","head":{"label":"grahamb:sfu-api-tests","ref":"sfu-api-tests","sha":"c5e486e8344284149e7846e640ad00a77fd75362","user":{"login":"grahamb","id":146111,"avatar_url":"https://avatars.githubusercontent.com/u/146111?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamb","html_url":"https://github.com/grahamb","followers_url":"https://api.github.com/users/grahamb/followers","following_url":"https://api.github.com/users/grahamb/following{/other_user}","gists_url":"https://api.github.com/users/grahamb/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamb/subscriptions","organizations_url":"https://api.github.com/users/grahamb/orgs","repos_url":"https://api.github.com/users/grahamb/repos","events_url":"https://api.github.com/users/grahamb/events{/privacy}","received_events_url":"https://api.github.com/users/grahamb/received_events","type":"User","site_admin":false},"repo":{"id":7906678,"name":"canvas-lms","full_name":"grahamb/canvas-lms","owner":{"login":"grahamb","id":146111,"avatar_url":"https://avatars.githubusercontent.com/u/146111?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamb","html_url":"https://github.com/grahamb","followers_url":"https://api.github.com/users/grahamb/followers","following_url":"https://api.github.com/users/grahamb/following{/other_user}","gists_url":"https://api.github.com/users/grahamb/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamb/subscriptions","organizations_url":"https://api.github.com/users/grahamb/orgs","repos_url":"https://api.github.com/users/grahamb/repos","events_url":"https://api.github.com/users/grahamb/events{/privacy}","received_events_url":"https://api.github.com/users/grahamb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grahamb/canvas-lms","description":"The open LMS by Instructure, Inc.","fork":true,"url":"https://api.github.com/repos/grahamb/canvas-lms","forks_url":"https://api.github.com/repos/grahamb/canvas-lms/forks","keys_url":"https://api.github.com/repos/grahamb/canvas-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grahamb/canvas-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grahamb/canvas-lms/teams","hooks_url":"https://api.github.com/repos/grahamb/canvas-lms/hooks","issue_events_url":"https://api.github.com/repos/grahamb/canvas-lms/issues/events{/number}","events_url":"https://api.github.com/repos/grahamb/canvas-lms/events","assignees_url":"https://api.github.com/repos/grahamb/canvas-lms/assignees{/user}","branches_url":"https://api.github.com/repos/grahamb/canvas-lms/branches{/branch}","tags_url":"https://api.github.com/repos/grahamb/canvas-lms/tags","blobs_url":"https://api.github.com/repos/grahamb/canvas-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grahamb/canvas-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grahamb/canvas-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/grahamb/canvas-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grahamb/canvas-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/grahamb/canvas-lms/languages","stargazers_url":"https://api.github.com/repos/grahamb/canvas-lms/stargazers","contributors_url":"https://api.github.com/repos/grahamb/canvas-lms/contributors","subscribers_url":"https://api.github.com/repos/grahamb/canvas-lms/subscribers","subscription_url":"https://api.github.com/repos/grahamb/canvas-lms/subscription","commits_url":"https://api.github.com/repos/grahamb/canvas-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/grahamb/canvas-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/grahamb/canvas-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/grahamb/canvas-lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/grahamb/canvas-lms/contents/{+path}","compare_url":"https://api.github.com/repos/grahamb/canvas-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grahamb/canvas-lms/merges","archive_url":"https://api.github.com/repos/grahamb/canvas-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grahamb/canvas-lms/downloads","issues_url":"https://api.github.com/repos/grahamb/canvas-lms/issues{/number}","pulls_url":"https://api.github.com/repos/grahamb/canvas-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/grahamb/canvas-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/grahamb/canvas-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grahamb/canvas-lms/labels{/name}","releases_url":"https://api.github.com/repos/grahamb/canvas-lms/releases{/id}","created_at":"2013-01-30T03:02:12Z","updated_at":"2015-05-05T18:13:54Z","pushed_at":"2015-09-17T21:27:30Z","git_url":"git://github.com/grahamb/canvas-lms.git","ssh_url":"git@github.com:grahamb/canvas-lms.git","clone_url":"https://github.com/grahamb/canvas-lms.git","svn_url":"https://github.com/grahamb/canvas-lms","homepage":"https://github.com/instructure/canvas-lms/wiki","size":212549,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"sfu-develop"}},"base":{"label":"sfu:sfu-develop","ref":"sfu-develop","sha":"3f34cb5c717843a5f4365ef2a98e6ac33c2a7c87","user":{"login":"sfu","id":1266844,"avatar_url":"https://avatars.githubusercontent.com/u/1266844?v=3","gravatar_id":"","url":"https://api.github.com/users/sfu","html_url":"https://github.com/sfu","followers_url":"https://api.github.com/users/sfu/followers","following_url":"https://api.github.com/users/sfu/following{/other_user}","gists_url":"https://api.github.com/users/sfu/gists{/gist_id}","starred_url":"https://api.github.com/users/sfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfu/subscriptions","organizations_url":"https://api.github.com/users/sfu/orgs","repos_url":"https://api.github.com/users/sfu/repos","events_url":"https://api.github.com/users/sfu/events{/privacy}","received_events_url":"https://api.github.com/users/sfu/received_events","type":"Organization","site_admin":false},"repo":{"id":6928894,"name":"canvas-lms","full_name":"sfu/canvas-lms","owner":{"login":"sfu","id":1266844,"avatar_url":"https://avatars.githubusercontent.com/u/1266844?v=3","gravatar_id":"","url":"https://api.github.com/users/sfu","html_url":"https://github.com/sfu","followers_url":"https://api.github.com/users/sfu/followers","following_url":"https://api.github.com/users/sfu/following{/other_user}","gists_url":"https://api.github.com/users/sfu/gists{/gist_id}","starred_url":"https://api.github.com/users/sfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfu/subscriptions","organizations_url":"https://api.github.com/users/sfu/orgs","repos_url":"https://api.github.com/users/sfu/repos","events_url":"https://api.github.com/users/sfu/events{/privacy}","received_events_url":"https://api.github.com/users/sfu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfu/canvas-lms","description":"The open LMS by Instructure, Inc.","fork":true,"url":"https://api.github.com/repos/sfu/canvas-lms","forks_url":"https://api.github.com/repos/sfu/canvas-lms/forks","keys_url":"https://api.github.com/repos/sfu/canvas-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfu/canvas-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfu/canvas-lms/teams","hooks_url":"https://api.github.com/repos/sfu/canvas-lms/hooks","issue_events_url":"https://api.github.com/repos/sfu/canvas-lms/issues/events{/number}","events_url":"https://api.github.com/repos/sfu/canvas-lms/events","assignees_url":"https://api.github.com/repos/sfu/canvas-lms/assignees{/user}","branches_url":"https://api.github.com/repos/sfu/canvas-lms/branches{/branch}","tags_url":"https://api.github.com/repos/sfu/canvas-lms/tags","blobs_url":"https://api.github.com/repos/sfu/canvas-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfu/canvas-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfu/canvas-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfu/canvas-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfu/canvas-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/sfu/canvas-lms/languages","stargazers_url":"https://api.github.com/repos/sfu/canvas-lms/stargazers","contributors_url":"https://api.github.com/repos/sfu/canvas-lms/contributors","subscribers_url":"https://api.github.com/repos/sfu/canvas-lms/subscribers","subscription_url":"https://api.github.com/repos/sfu/canvas-lms/subscription","commits_url":"https://api.github.com/repos/sfu/canvas-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfu/canvas-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfu/canvas-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfu/canvas-lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfu/canvas-lms/contents/{+path}","compare_url":"https://api.github.com/repos/sfu/canvas-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfu/canvas-lms/merges","archive_url":"https://api.github.com/repos/sfu/canvas-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfu/canvas-lms/downloads","issues_url":"https://api.github.com/repos/sfu/canvas-lms/issues{/number}","pulls_url":"https://api.github.com/repos/sfu/canvas-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/sfu/canvas-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/sfu/canvas-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfu/canvas-lms/labels{/name}","releases_url":"https://api.github.com/repos/sfu/canvas-lms/releases{/id}","created_at":"2012-11-29T21:32:09Z","updated_at":"2015-08-23T16:57:46Z","pushed_at":"2015-09-17T22:38:29Z","git_url":"git://github.com/sfu/canvas-lms.git","ssh_url":"git@github.com:sfu/canvas-lms.git","clone_url":"https://github.com/sfu/canvas-lms.git","svn_url":"https://github.com/sfu/canvas-lms","homepage":"https://github.com/instructure/canvas-lms/wiki","size":219382,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":5,"default_branch":"sfu-develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sfu/canvas-lms/pulls/225"},"html":{"href":"https://github.com/sfu/canvas-lms/pull/225"},"issue":{"href":"https://api.github.com/repos/sfu/canvas-lms/issues/225"},"comments":{"href":"https://api.github.com/repos/sfu/canvas-lms/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/sfu/canvas-lms/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/sfu/canvas-lms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sfu/canvas-lms/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/sfu/canvas-lms/statuses/c5e486e8344284149e7846e640ad00a77fd75362"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":382,"deletions":11,"changed_files":11}}