{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/35961819","id":35961819,"diff_hunk":"@@ -0,0 +1,39 @@\n+require 'rails_helper'\n+require 'helpers'\n+\n+RSpec.configure do |c|\n+  c.include Helpers\n+end\n+\n+feature 'comments' do\n+\n+  scenario 'allows users to leave a comment using a form' do\n+    sign_up\n+    upload_image\n+    visit '/images'\n+    leave_comment","path":"spec/features/comments_feature_spec.rb","position":14,"original_position":14,"commit_id":"6710d8b42f56cd6b411e2a773db1a60dd11258b6","original_commit_id":"6710d8b42f56cd6b411e2a773db1a60dd11258b6","user":{"login":"ptolemybarnes","id":9342866,"avatar_url":"https://avatars.githubusercontent.com/u/9342866?v=3","gravatar_id":"","url":"https://api.github.com/users/ptolemybarnes","html_url":"https://github.com/ptolemybarnes","followers_url":"https://api.github.com/users/ptolemybarnes/followers","following_url":"https://api.github.com/users/ptolemybarnes/following{/other_user}","gists_url":"https://api.github.com/users/ptolemybarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/ptolemybarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptolemybarnes/subscriptions","organizations_url":"https://api.github.com/users/ptolemybarnes/orgs","repos_url":"https://api.github.com/users/ptolemybarnes/repos","events_url":"https://api.github.com/users/ptolemybarnes/events{/privacy}","received_events_url":"https://api.github.com/users/ptolemybarnes/received_events","type":"User","site_admin":false},"body":"What comment am I leaving?","created_at":"2015-07-31T10:15:14Z","updated_at":"2015-07-31T10:15:14Z","html_url":"https://github.com/makersacademy/instagram-challenge/pull/51#discussion_r35961819","pull_request_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/35961819"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/51#discussion_r35961819"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51","id":40859032,"html_url":"https://github.com/makersacademy/instagram-challenge/pull/51","diff_url":"https://github.com/makersacademy/instagram-challenge/pull/51.diff","patch_url":"https://github.com/makersacademy/instagram-challenge/pull/51.patch","issue_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/51","number":51,"state":"open","locked":false,"title":"Instagram challenge","user":{"login":"KateWilkinson","id":11137272,"avatar_url":"https://avatars.githubusercontent.com/u/11137272?v=3","gravatar_id":"","url":"https://api.github.com/users/KateWilkinson","html_url":"https://github.com/KateWilkinson","followers_url":"https://api.github.com/users/KateWilkinson/followers","following_url":"https://api.github.com/users/KateWilkinson/following{/other_user}","gists_url":"https://api.github.com/users/KateWilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/KateWilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KateWilkinson/subscriptions","organizations_url":"https://api.github.com/users/KateWilkinson/orgs","repos_url":"https://api.github.com/users/KateWilkinson/repos","events_url":"https://api.github.com/users/KateWilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/KateWilkinson/received_events","type":"User","site_admin":false},"body":"- what is the correct way to reference images saved in the assets/images folder in order to display them? (tried googling and testing out various ways and couldn't get my image to display in the navbar - could also be a problem with the image I'm trying to use!)\r\n- what is the best way to feature test that an image has been uploaded? \r\n(in my test i'm just checking that the description of the image is visible on the page)\r\n- what is the best way to combine erb/rails 'link_to' or 'button_to' with my bootstrap button styling? \r\n(see my like, comment, delete buttons on images/index.html.erb - I currently have a button with a link on it which is really ugly.. I just wanted the buttons with the glyphicons)","created_at":"2015-07-26T20:15:35Z","updated_at":"2015-07-31T10:15:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07ddfb20b13e3f809cf72019ed607e9d8f40436d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51/commits","review_comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51/comments","review_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/51/comments","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/6710d8b42f56cd6b411e2a773db1a60dd11258b6","head":{"label":"KateWilkinson:master","ref":"master","sha":"6710d8b42f56cd6b411e2a773db1a60dd11258b6","user":{"login":"KateWilkinson","id":11137272,"avatar_url":"https://avatars.githubusercontent.com/u/11137272?v=3","gravatar_id":"","url":"https://api.github.com/users/KateWilkinson","html_url":"https://github.com/KateWilkinson","followers_url":"https://api.github.com/users/KateWilkinson/followers","following_url":"https://api.github.com/users/KateWilkinson/following{/other_user}","gists_url":"https://api.github.com/users/KateWilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/KateWilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KateWilkinson/subscriptions","organizations_url":"https://api.github.com/users/KateWilkinson/orgs","repos_url":"https://api.github.com/users/KateWilkinson/repos","events_url":"https://api.github.com/users/KateWilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/KateWilkinson/received_events","type":"User","site_admin":false},"repo":{"id":39626647,"name":"instagram-challenge","full_name":"KateWilkinson/instagram-challenge","owner":{"login":"KateWilkinson","id":11137272,"avatar_url":"https://avatars.githubusercontent.com/u/11137272?v=3","gravatar_id":"","url":"https://api.github.com/users/KateWilkinson","html_url":"https://github.com/KateWilkinson","followers_url":"https://api.github.com/users/KateWilkinson/followers","following_url":"https://api.github.com/users/KateWilkinson/following{/other_user}","gists_url":"https://api.github.com/users/KateWilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/KateWilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KateWilkinson/subscriptions","organizations_url":"https://api.github.com/users/KateWilkinson/orgs","repos_url":"https://api.github.com/users/KateWilkinson/repos","events_url":"https://api.github.com/users/KateWilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/KateWilkinson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KateWilkinson/instagram-challenge","description":"Rebuild Instagram","fork":true,"url":"https://api.github.com/repos/KateWilkinson/instagram-challenge","forks_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/forks","keys_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/events","assignees_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/merges","archive_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/KateWilkinson/instagram-challenge/releases{/id}","created_at":"2015-07-24T10:32:28Z","updated_at":"2015-07-24T11:39:45Z","pushed_at":"2015-07-27T09:57:22Z","git_url":"git://github.com/KateWilkinson/instagram-challenge.git","ssh_url":"git@github.com:KateWilkinson/instagram-challenge.git","clone_url":"https://github.com/KateWilkinson/instagram-challenge.git","svn_url":"https://github.com/KateWilkinson/instagram-challenge","homepage":null,"size":1991,"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":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"eaa3ee818a47b43e7d56fc750dd8e672997d3636","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006364,"name":"instagram-challenge","full_name":"makersacademy/instagram-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/instagram-challenge","description":"Rebuild Instagram","fork":false,"url":"https://api.github.com/repos/makersacademy/instagram-challenge","forks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/instagram-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/instagram-challenge/releases{/id}","created_at":"2014-11-22T17:26:37Z","updated_at":"2015-04-02T15:05:17Z","pushed_at":"2015-07-30T22:35:26Z","git_url":"git://github.com/makersacademy/instagram-challenge.git","ssh_url":"git@github.com:makersacademy/instagram-challenge.git","clone_url":"https://github.com/makersacademy/instagram-challenge.git","svn_url":"https://github.com/makersacademy/instagram-challenge","homepage":null,"size":79959,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":22,"forks":87,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/51"},"issue":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/51"},"comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/6710d8b42f56cd6b411e2a773db1a60dd11258b6"}}}}