{"action":"created","comment":{"url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments/44999401","id":44999401,"diff_hunk":"@@ -0,0 +1,12 @@\n+require \"rails_helper\"\n+\n+feature \"admin creates a course\", %{\n+  As an admin\n+  I can create different courses\n+  So they can be available on the website\n+} do\n+\n+  scenario \"admin click on 'new course' button in his dashboard\" do\n+","path":"spec/features/admin_courses_spec.rb","position":10,"original_position":10,"commit_id":"199ed90e1a0f8e1d8b80670dc9cff0c22171c297","original_commit_id":"199ed90e1a0f8e1d8b80670dc9cff0c22171c297","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra empty line detected at block body beginning.","created_at":"2015-11-16T23:10:50Z","updated_at":"2015-11-16T23:10:50Z","html_url":"https://github.com/ledes/PDCA_platform/pull/4#discussion_r44999401","pull_request_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments/44999401"},"html":{"href":"https://github.com/ledes/PDCA_platform/pull/4#discussion_r44999401"},"pull_request":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4","id":50880834,"html_url":"https://github.com/ledes/PDCA_platform/pull/4","diff_url":"https://github.com/ledes/PDCA_platform/pull/4.diff","patch_url":"https://github.com/ledes/PDCA_platform/pull/4.patch","issue_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/4","number":4,"state":"open","locked":false,"title":"Add courses index and show features","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"body":"Courses:\r\n- Created test for show page and index page\r\n-Created functions in controller\r\n-Created views\r\n-Created search feature for courses\r\n-Seed database with courses","created_at":"2015-11-16T23:10:42Z","updated_at":"2015-11-16T23:10:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/4/comments","statuses_url":"https://api.github.com/repos/ledes/PDCA_platform/statuses/199ed90e1a0f8e1d8b80670dc9cff0c22171c297","head":{"label":"ledes:courses","ref":"courses","sha":"199ed90e1a0f8e1d8b80670dc9cff0c22171c297","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"repo":{"id":45262969,"name":"PDCA_platform","full_name":"ledes/PDCA_platform","owner":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ledes/PDCA_platform","description":"","fork":false,"url":"https://api.github.com/repos/ledes/PDCA_platform","forks_url":"https://api.github.com/repos/ledes/PDCA_platform/forks","keys_url":"https://api.github.com/repos/ledes/PDCA_platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledes/PDCA_platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledes/PDCA_platform/teams","hooks_url":"https://api.github.com/repos/ledes/PDCA_platform/hooks","issue_events_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/events{/number}","events_url":"https://api.github.com/repos/ledes/PDCA_platform/events","assignees_url":"https://api.github.com/repos/ledes/PDCA_platform/assignees{/user}","branches_url":"https://api.github.com/repos/ledes/PDCA_platform/branches{/branch}","tags_url":"https://api.github.com/repos/ledes/PDCA_platform/tags","blobs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledes/PDCA_platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledes/PDCA_platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledes/PDCA_platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ledes/PDCA_platform/languages","stargazers_url":"https://api.github.com/repos/ledes/PDCA_platform/stargazers","contributors_url":"https://api.github.com/repos/ledes/PDCA_platform/contributors","subscribers_url":"https://api.github.com/repos/ledes/PDCA_platform/subscribers","subscription_url":"https://api.github.com/repos/ledes/PDCA_platform/subscription","commits_url":"https://api.github.com/repos/ledes/PDCA_platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledes/PDCA_platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledes/PDCA_platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledes/PDCA_platform/contents/{+path}","compare_url":"https://api.github.com/repos/ledes/PDCA_platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledes/PDCA_platform/merges","archive_url":"https://api.github.com/repos/ledes/PDCA_platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledes/PDCA_platform/downloads","issues_url":"https://api.github.com/repos/ledes/PDCA_platform/issues{/number}","pulls_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ledes/PDCA_platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ledes/PDCA_platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledes/PDCA_platform/labels{/name}","releases_url":"https://api.github.com/repos/ledes/PDCA_platform/releases{/id}","created_at":"2015-10-30T16:28:19Z","updated_at":"2015-11-12T16:36:01Z","pushed_at":"2015-11-16T23:10:42Z","git_url":"git://github.com/ledes/PDCA_platform.git","ssh_url":"git@github.com:ledes/PDCA_platform.git","clone_url":"https://github.com/ledes/PDCA_platform.git","svn_url":"https://github.com/ledes/PDCA_platform","homepage":null,"size":74,"stargazers_count":1,"watchers_count":1,"language":"CSS","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":1,"default_branch":"master"}},"base":{"label":"ledes:master","ref":"master","sha":"6bb3b59e3401afcadacdf7becbee02d82f77a247","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"repo":{"id":45262969,"name":"PDCA_platform","full_name":"ledes/PDCA_platform","owner":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ledes/PDCA_platform","description":"","fork":false,"url":"https://api.github.com/repos/ledes/PDCA_platform","forks_url":"https://api.github.com/repos/ledes/PDCA_platform/forks","keys_url":"https://api.github.com/repos/ledes/PDCA_platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledes/PDCA_platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledes/PDCA_platform/teams","hooks_url":"https://api.github.com/repos/ledes/PDCA_platform/hooks","issue_events_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/events{/number}","events_url":"https://api.github.com/repos/ledes/PDCA_platform/events","assignees_url":"https://api.github.com/repos/ledes/PDCA_platform/assignees{/user}","branches_url":"https://api.github.com/repos/ledes/PDCA_platform/branches{/branch}","tags_url":"https://api.github.com/repos/ledes/PDCA_platform/tags","blobs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledes/PDCA_platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledes/PDCA_platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledes/PDCA_platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ledes/PDCA_platform/languages","stargazers_url":"https://api.github.com/repos/ledes/PDCA_platform/stargazers","contributors_url":"https://api.github.com/repos/ledes/PDCA_platform/contributors","subscribers_url":"https://api.github.com/repos/ledes/PDCA_platform/subscribers","subscription_url":"https://api.github.com/repos/ledes/PDCA_platform/subscription","commits_url":"https://api.github.com/repos/ledes/PDCA_platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledes/PDCA_platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledes/PDCA_platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledes/PDCA_platform/contents/{+path}","compare_url":"https://api.github.com/repos/ledes/PDCA_platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledes/PDCA_platform/merges","archive_url":"https://api.github.com/repos/ledes/PDCA_platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledes/PDCA_platform/downloads","issues_url":"https://api.github.com/repos/ledes/PDCA_platform/issues{/number}","pulls_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ledes/PDCA_platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ledes/PDCA_platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledes/PDCA_platform/labels{/name}","releases_url":"https://api.github.com/repos/ledes/PDCA_platform/releases{/id}","created_at":"2015-10-30T16:28:19Z","updated_at":"2015-11-12T16:36:01Z","pushed_at":"2015-11-16T23:10:42Z","git_url":"git://github.com/ledes/PDCA_platform.git","ssh_url":"git@github.com:ledes/PDCA_platform.git","clone_url":"https://github.com/ledes/PDCA_platform.git","svn_url":"https://github.com/ledes/PDCA_platform","homepage":null,"size":74,"stargazers_count":1,"watchers_count":1,"language":"CSS","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4"},"html":{"href":"https://github.com/ledes/PDCA_platform/pull/4"},"issue":{"href":"https://api.github.com/repos/ledes/PDCA_platform/issues/4"},"comments":{"href":"https://api.github.com/repos/ledes/PDCA_platform/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ledes/PDCA_platform/statuses/199ed90e1a0f8e1d8b80670dc9cff0c22171c297"}}}}