{"action":"created","comment":{"url":"https://api.github.com/repos/jeffminnear/do-tell/pulls/comments/48244114","id":48244114,"diff_hunk":"@@ -0,0 +1,62 @@\n+require 'rails_helper'\n+\n+RSpec.describe RegisteredApplicationsController, type: :controller do\n+\n+  describe \"GET#index\" do\n+    let(:my_user) { create(:user) }\n+    before do\n+      sign_in(my_user)\n+    end\n+\n+    it \"returns http success\" do\n+      get :index\n+      expect(response).to have_http_status(:success)\n+    end\n+\n+    it \"assigns the users applications to @applications\" do\n+      application_1 = create(:application, user: my_user)\n+      get :index\n+      expect(assigns(:applications)).to eq(my_user.applications)\n+    end\n+  end\n+\n+  describe \"GET#create\" do","path":"spec/controllers/registered_applications_controller_spec.rb","position":23,"original_position":23,"commit_id":"8252a1afff3e8a3e58e341abff7b33bd787d16c5","original_commit_id":"8252a1afff3e8a3e58e341abff7b33bd787d16c5","user":{"login":"eliotsykes","id":31698,"avatar_url":"https://avatars.githubusercontent.com/u/31698?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotsykes","html_url":"https://github.com/eliotsykes","followers_url":"https://api.github.com/users/eliotsykes/followers","following_url":"https://api.github.com/users/eliotsykes/following{/other_user}","gists_url":"https://api.github.com/users/eliotsykes/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotsykes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotsykes/subscriptions","organizations_url":"https://api.github.com/users/eliotsykes/orgs","repos_url":"https://api.github.com/users/eliotsykes/repos","events_url":"https://api.github.com/users/eliotsykes/events{/privacy}","received_events_url":"https://api.github.com/users/eliotsykes/received_events","type":"User","site_admin":false},"body":"The `create` is being tested with `GET`. What's a more accurate HTTP verb for creating data?","created_at":"2015-12-22T11:11:43Z","updated_at":"2015-12-22T11:11:43Z","html_url":"https://github.com/jeffminnear/do-tell/pull/3#discussion_r48244114","pull_request_url":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/jeffminnear/do-tell/pulls/comments/48244114"},"html":{"href":"https://github.com/jeffminnear/do-tell/pull/3#discussion_r48244114"},"pull_request":{"href":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3","id":54269149,"html_url":"https://github.com/jeffminnear/do-tell/pull/3","diff_url":"https://github.com/jeffminnear/do-tell/pull/3.diff","patch_url":"https://github.com/jeffminnear/do-tell/pull/3.patch","issue_url":"https://api.github.com/repos/jeffminnear/do-tell/issues/3","number":3,"state":"closed","locked":false,"title":"Register an application","user":{"login":"jeffminnear","id":15134766,"avatar_url":"https://avatars.githubusercontent.com/u/15134766?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffminnear","html_url":"https://github.com/jeffminnear","followers_url":"https://api.github.com/users/jeffminnear/followers","following_url":"https://api.github.com/users/jeffminnear/following{/other_user}","gists_url":"https://api.github.com/users/jeffminnear/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffminnear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffminnear/subscriptions","organizations_url":"https://api.github.com/users/jeffminnear/orgs","repos_url":"https://api.github.com/users/jeffminnear/repos","events_url":"https://api.github.com/users/jeffminnear/events{/privacy}","received_events_url":"https://api.github.com/users/jeffminnear/received_events","type":"User","site_admin":false},"body":"`#index` for the `application` model is now functional. I'm going to move on to it's `#new` and `#create` actions. Then I'll merge everything into master.","created_at":"2015-12-21T15:37:02Z","updated_at":"2015-12-22T11:11:43Z","closed_at":"2015-12-21T18:06:49Z","merged_at":"2015-12-21T18:06:49Z","merge_commit_sha":"00348f45228cb594faa5648e26449beb63dbe1ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jeffminnear/do-tell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jeffminnear/do-tell/issues/3/comments","statuses_url":"https://api.github.com/repos/jeffminnear/do-tell/statuses/8252a1afff3e8a3e58e341abff7b33bd787d16c5","head":{"label":"jeffminnear:register-an-application","ref":"register-an-application","sha":"8252a1afff3e8a3e58e341abff7b33bd787d16c5","user":{"login":"jeffminnear","id":15134766,"avatar_url":"https://avatars.githubusercontent.com/u/15134766?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffminnear","html_url":"https://github.com/jeffminnear","followers_url":"https://api.github.com/users/jeffminnear/followers","following_url":"https://api.github.com/users/jeffminnear/following{/other_user}","gists_url":"https://api.github.com/users/jeffminnear/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffminnear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffminnear/subscriptions","organizations_url":"https://api.github.com/users/jeffminnear/orgs","repos_url":"https://api.github.com/users/jeffminnear/repos","events_url":"https://api.github.com/users/jeffminnear/events{/privacy}","received_events_url":"https://api.github.com/users/jeffminnear/received_events","type":"User","site_admin":false},"repo":{"id":48198141,"name":"do-tell","full_name":"jeffminnear/do-tell","owner":{"login":"jeffminnear","id":15134766,"avatar_url":"https://avatars.githubusercontent.com/u/15134766?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffminnear","html_url":"https://github.com/jeffminnear","followers_url":"https://api.github.com/users/jeffminnear/followers","following_url":"https://api.github.com/users/jeffminnear/following{/other_user}","gists_url":"https://api.github.com/users/jeffminnear/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffminnear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffminnear/subscriptions","organizations_url":"https://api.github.com/users/jeffminnear/orgs","repos_url":"https://api.github.com/users/jeffminnear/repos","events_url":"https://api.github.com/users/jeffminnear/events{/privacy}","received_events_url":"https://api.github.com/users/jeffminnear/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffminnear/do-tell","description":"An analytics service and reporting tool to track events on websites","fork":false,"url":"https://api.github.com/repos/jeffminnear/do-tell","forks_url":"https://api.github.com/repos/jeffminnear/do-tell/forks","keys_url":"https://api.github.com/repos/jeffminnear/do-tell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffminnear/do-tell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffminnear/do-tell/teams","hooks_url":"https://api.github.com/repos/jeffminnear/do-tell/hooks","issue_events_url":"https://api.github.com/repos/jeffminnear/do-tell/issues/events{/number}","events_url":"https://api.github.com/repos/jeffminnear/do-tell/events","assignees_url":"https://api.github.com/repos/jeffminnear/do-tell/assignees{/user}","branches_url":"https://api.github.com/repos/jeffminnear/do-tell/branches{/branch}","tags_url":"https://api.github.com/repos/jeffminnear/do-tell/tags","blobs_url":"https://api.github.com/repos/jeffminnear/do-tell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffminnear/do-tell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffminnear/do-tell/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffminnear/do-tell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffminnear/do-tell/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffminnear/do-tell/languages","stargazers_url":"https://api.github.com/repos/jeffminnear/do-tell/stargazers","contributors_url":"https://api.github.com/repos/jeffminnear/do-tell/contributors","subscribers_url":"https://api.github.com/repos/jeffminnear/do-tell/subscribers","subscription_url":"https://api.github.com/repos/jeffminnear/do-tell/subscription","commits_url":"https://api.github.com/repos/jeffminnear/do-tell/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffminnear/do-tell/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffminnear/do-tell/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffminnear/do-tell/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffminnear/do-tell/contents/{+path}","compare_url":"https://api.github.com/repos/jeffminnear/do-tell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffminnear/do-tell/merges","archive_url":"https://api.github.com/repos/jeffminnear/do-tell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffminnear/do-tell/downloads","issues_url":"https://api.github.com/repos/jeffminnear/do-tell/issues{/number}","pulls_url":"https://api.github.com/repos/jeffminnear/do-tell/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffminnear/do-tell/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffminnear/do-tell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffminnear/do-tell/labels{/name}","releases_url":"https://api.github.com/repos/jeffminnear/do-tell/releases{/id}","created_at":"2015-12-17T21:02:47Z","updated_at":"2015-12-17T22:00:24Z","pushed_at":"2015-12-21T18:06:48Z","git_url":"git://github.com/jeffminnear/do-tell.git","ssh_url":"git@github.com:jeffminnear/do-tell.git","clone_url":"https://github.com/jeffminnear/do-tell.git","svn_url":"https://github.com/jeffminnear/do-tell","homepage":null,"size":71,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"jeffminnear:master","ref":"master","sha":"d336306516aeb90ae1ce5861e264ded3308a9474","user":{"login":"jeffminnear","id":15134766,"avatar_url":"https://avatars.githubusercontent.com/u/15134766?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffminnear","html_url":"https://github.com/jeffminnear","followers_url":"https://api.github.com/users/jeffminnear/followers","following_url":"https://api.github.com/users/jeffminnear/following{/other_user}","gists_url":"https://api.github.com/users/jeffminnear/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffminnear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffminnear/subscriptions","organizations_url":"https://api.github.com/users/jeffminnear/orgs","repos_url":"https://api.github.com/users/jeffminnear/repos","events_url":"https://api.github.com/users/jeffminnear/events{/privacy}","received_events_url":"https://api.github.com/users/jeffminnear/received_events","type":"User","site_admin":false},"repo":{"id":48198141,"name":"do-tell","full_name":"jeffminnear/do-tell","owner":{"login":"jeffminnear","id":15134766,"avatar_url":"https://avatars.githubusercontent.com/u/15134766?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffminnear","html_url":"https://github.com/jeffminnear","followers_url":"https://api.github.com/users/jeffminnear/followers","following_url":"https://api.github.com/users/jeffminnear/following{/other_user}","gists_url":"https://api.github.com/users/jeffminnear/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffminnear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffminnear/subscriptions","organizations_url":"https://api.github.com/users/jeffminnear/orgs","repos_url":"https://api.github.com/users/jeffminnear/repos","events_url":"https://api.github.com/users/jeffminnear/events{/privacy}","received_events_url":"https://api.github.com/users/jeffminnear/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffminnear/do-tell","description":"An analytics service and reporting tool to track events on websites","fork":false,"url":"https://api.github.com/repos/jeffminnear/do-tell","forks_url":"https://api.github.com/repos/jeffminnear/do-tell/forks","keys_url":"https://api.github.com/repos/jeffminnear/do-tell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffminnear/do-tell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffminnear/do-tell/teams","hooks_url":"https://api.github.com/repos/jeffminnear/do-tell/hooks","issue_events_url":"https://api.github.com/repos/jeffminnear/do-tell/issues/events{/number}","events_url":"https://api.github.com/repos/jeffminnear/do-tell/events","assignees_url":"https://api.github.com/repos/jeffminnear/do-tell/assignees{/user}","branches_url":"https://api.github.com/repos/jeffminnear/do-tell/branches{/branch}","tags_url":"https://api.github.com/repos/jeffminnear/do-tell/tags","blobs_url":"https://api.github.com/repos/jeffminnear/do-tell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffminnear/do-tell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffminnear/do-tell/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffminnear/do-tell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffminnear/do-tell/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffminnear/do-tell/languages","stargazers_url":"https://api.github.com/repos/jeffminnear/do-tell/stargazers","contributors_url":"https://api.github.com/repos/jeffminnear/do-tell/contributors","subscribers_url":"https://api.github.com/repos/jeffminnear/do-tell/subscribers","subscription_url":"https://api.github.com/repos/jeffminnear/do-tell/subscription","commits_url":"https://api.github.com/repos/jeffminnear/do-tell/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffminnear/do-tell/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffminnear/do-tell/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffminnear/do-tell/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffminnear/do-tell/contents/{+path}","compare_url":"https://api.github.com/repos/jeffminnear/do-tell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffminnear/do-tell/merges","archive_url":"https://api.github.com/repos/jeffminnear/do-tell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffminnear/do-tell/downloads","issues_url":"https://api.github.com/repos/jeffminnear/do-tell/issues{/number}","pulls_url":"https://api.github.com/repos/jeffminnear/do-tell/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffminnear/do-tell/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffminnear/do-tell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffminnear/do-tell/labels{/name}","releases_url":"https://api.github.com/repos/jeffminnear/do-tell/releases{/id}","created_at":"2015-12-17T21:02:47Z","updated_at":"2015-12-17T22:00:24Z","pushed_at":"2015-12-21T18:06:48Z","git_url":"git://github.com/jeffminnear/do-tell.git","ssh_url":"git@github.com:jeffminnear/do-tell.git","clone_url":"https://github.com/jeffminnear/do-tell.git","svn_url":"https://github.com/jeffminnear/do-tell","homepage":null,"size":71,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3"},"html":{"href":"https://github.com/jeffminnear/do-tell/pull/3"},"issue":{"href":"https://api.github.com/repos/jeffminnear/do-tell/issues/3"},"comments":{"href":"https://api.github.com/repos/jeffminnear/do-tell/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jeffminnear/do-tell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jeffminnear/do-tell/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jeffminnear/do-tell/statuses/8252a1afff3e8a3e58e341abff7b33bd787d16c5"}}}}