{"action":"created","comment":{"url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/comments/28792965","id":28792965,"diff_hunk":"@@ -0,0 +1,27 @@\n+require 'rails_helper'\n+\n+feature 'Feature: Create a new stop for a tour.' do\n+\n+  scenario 'visit tour as authenticated user stop page and make a new stop' do\n+    user = FactoryGirl.create(:user)\n+    sign_in_as user\n+    tour = FactoryGirl.create(:tour, user_id: user.id)","path":"spec/features/tour/create_new_tour_stop_spec.rb","position":8,"original_position":8,"commit_id":"d0eeaff51f2efd36221edb8581d53f7eecab7ca8","original_commit_id":"d0eeaff51f2efd36221edb8581d53f7eecab7ca8","user":{"login":"radavis","id":1299034,"avatar_url":"https://avatars.githubusercontent.com/u/1299034?v=3","gravatar_id":"","url":"https://api.github.com/users/radavis","html_url":"https://github.com/radavis","followers_url":"https://api.github.com/users/radavis/followers","following_url":"https://api.github.com/users/radavis/following{/other_user}","gists_url":"https://api.github.com/users/radavis/gists{/gist_id}","starred_url":"https://api.github.com/users/radavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radavis/subscriptions","organizations_url":"https://api.github.com/users/radavis/orgs","repos_url":"https://api.github.com/users/radavis/repos","events_url":"https://api.github.com/users/radavis/events{/privacy}","received_events_url":"https://api.github.com/users/radavis/received_events","type":"User","site_admin":false},"body":"Don't set ids. You could simply create a tour, and that would create a user for you.\r\n\r\n```\r\ntour = FactoryGirl.create(:tour)\r\nuser = tour.user\r\n```","created_at":"2015-04-21T15:59:36Z","updated_at":"2015-04-21T15:59:36Z","html_url":"https://github.com/Tobitron/Tour-Guide/pull/1#discussion_r28792965","pull_request_url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/comments/28792965"},"html":{"href":"https://github.com/Tobitron/Tour-Guide/pull/1#discussion_r28792965"},"pull_request":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1","id":33773417,"html_url":"https://github.com/Tobitron/Tour-Guide/pull/1","diff_url":"https://github.com/Tobitron/Tour-Guide/pull/1.diff","patch_url":"https://github.com/Tobitron/Tour-Guide/pull/1.patch","issue_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/1","number":1,"state":"open","locked":false,"title":"Code Review","user":{"login":"radavis","id":1299034,"avatar_url":"https://avatars.githubusercontent.com/u/1299034?v=3","gravatar_id":"","url":"https://api.github.com/users/radavis","html_url":"https://github.com/radavis","followers_url":"https://api.github.com/users/radavis/followers","following_url":"https://api.github.com/users/radavis/following{/other_user}","gists_url":"https://api.github.com/users/radavis/gists{/gist_id}","starred_url":"https://api.github.com/users/radavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radavis/subscriptions","organizations_url":"https://api.github.com/users/radavis/orgs","repos_url":"https://api.github.com/users/radavis/repos","events_url":"https://api.github.com/users/radavis/events{/privacy}","received_events_url":"https://api.github.com/users/radavis/received_events","type":"User","site_admin":false},"body":"Do not merge! \r\n\r\nreverted to commit c783f311526d2028f7691cae30a1a53af6486f6b","created_at":"2015-04-21T15:32:50Z","updated_at":"2015-04-21T15:59:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0e766ffcd39f05b3ed50a06c413e88ec6b90ab8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/1/comments","statuses_url":"https://api.github.com/repos/Tobitron/Tour-Guide/statuses/d0eeaff51f2efd36221edb8581d53f7eecab7ca8","head":{"label":"Tobitron:master","ref":"master","sha":"d0eeaff51f2efd36221edb8581d53f7eecab7ca8","user":{"login":"Tobitron","id":2693541,"avatar_url":"https://avatars.githubusercontent.com/u/2693541?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobitron","html_url":"https://github.com/Tobitron","followers_url":"https://api.github.com/users/Tobitron/followers","following_url":"https://api.github.com/users/Tobitron/following{/other_user}","gists_url":"https://api.github.com/users/Tobitron/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobitron/subscriptions","organizations_url":"https://api.github.com/users/Tobitron/orgs","repos_url":"https://api.github.com/users/Tobitron/repos","events_url":"https://api.github.com/users/Tobitron/events{/privacy}","received_events_url":"https://api.github.com/users/Tobitron/received_events","type":"User","site_admin":false},"repo":{"id":33961378,"name":"Tour-Guide","full_name":"Tobitron/Tour-Guide","owner":{"login":"Tobitron","id":2693541,"avatar_url":"https://avatars.githubusercontent.com/u/2693541?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobitron","html_url":"https://github.com/Tobitron","followers_url":"https://api.github.com/users/Tobitron/followers","following_url":"https://api.github.com/users/Tobitron/following{/other_user}","gists_url":"https://api.github.com/users/Tobitron/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobitron/subscriptions","organizations_url":"https://api.github.com/users/Tobitron/orgs","repos_url":"https://api.github.com/users/Tobitron/repos","events_url":"https://api.github.com/users/Tobitron/events{/privacy}","received_events_url":"https://api.github.com/users/Tobitron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tobitron/Tour-Guide","description":"An app to help you create walking tours.","fork":false,"url":"https://api.github.com/repos/Tobitron/Tour-Guide","forks_url":"https://api.github.com/repos/Tobitron/Tour-Guide/forks","keys_url":"https://api.github.com/repos/Tobitron/Tour-Guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tobitron/Tour-Guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tobitron/Tour-Guide/teams","hooks_url":"https://api.github.com/repos/Tobitron/Tour-Guide/hooks","issue_events_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/events{/number}","events_url":"https://api.github.com/repos/Tobitron/Tour-Guide/events","assignees_url":"https://api.github.com/repos/Tobitron/Tour-Guide/assignees{/user}","branches_url":"https://api.github.com/repos/Tobitron/Tour-Guide/branches{/branch}","tags_url":"https://api.github.com/repos/Tobitron/Tour-Guide/tags","blobs_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tobitron/Tour-Guide/statuses/{sha}","languages_url":"https://api.github.com/repos/Tobitron/Tour-Guide/languages","stargazers_url":"https://api.github.com/repos/Tobitron/Tour-Guide/stargazers","contributors_url":"https://api.github.com/repos/Tobitron/Tour-Guide/contributors","subscribers_url":"https://api.github.com/repos/Tobitron/Tour-Guide/subscribers","subscription_url":"https://api.github.com/repos/Tobitron/Tour-Guide/subscription","commits_url":"https://api.github.com/repos/Tobitron/Tour-Guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tobitron/Tour-Guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tobitron/Tour-Guide/contents/{+path}","compare_url":"https://api.github.com/repos/Tobitron/Tour-Guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tobitron/Tour-Guide/merges","archive_url":"https://api.github.com/repos/Tobitron/Tour-Guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tobitron/Tour-Guide/downloads","issues_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues{/number}","pulls_url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls{/number}","milestones_url":"https://api.github.com/repos/Tobitron/Tour-Guide/milestones{/number}","notifications_url":"https://api.github.com/repos/Tobitron/Tour-Guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tobitron/Tour-Guide/labels{/name}","releases_url":"https://api.github.com/repos/Tobitron/Tour-Guide/releases{/id}","created_at":"2015-04-14T22:59:42Z","updated_at":"2015-04-20T19:50:31Z","pushed_at":"2015-04-21T15:32:51Z","git_url":"git://github.com/Tobitron/Tour-Guide.git","ssh_url":"git@github.com:Tobitron/Tour-Guide.git","clone_url":"https://github.com/Tobitron/Tour-Guide.git","svn_url":"https://github.com/Tobitron/Tour-Guide","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"base":{"label":"Tobitron:code_review","ref":"code_review","sha":"c783f311526d2028f7691cae30a1a53af6486f6b","user":{"login":"Tobitron","id":2693541,"avatar_url":"https://avatars.githubusercontent.com/u/2693541?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobitron","html_url":"https://github.com/Tobitron","followers_url":"https://api.github.com/users/Tobitron/followers","following_url":"https://api.github.com/users/Tobitron/following{/other_user}","gists_url":"https://api.github.com/users/Tobitron/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobitron/subscriptions","organizations_url":"https://api.github.com/users/Tobitron/orgs","repos_url":"https://api.github.com/users/Tobitron/repos","events_url":"https://api.github.com/users/Tobitron/events{/privacy}","received_events_url":"https://api.github.com/users/Tobitron/received_events","type":"User","site_admin":false},"repo":{"id":33961378,"name":"Tour-Guide","full_name":"Tobitron/Tour-Guide","owner":{"login":"Tobitron","id":2693541,"avatar_url":"https://avatars.githubusercontent.com/u/2693541?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobitron","html_url":"https://github.com/Tobitron","followers_url":"https://api.github.com/users/Tobitron/followers","following_url":"https://api.github.com/users/Tobitron/following{/other_user}","gists_url":"https://api.github.com/users/Tobitron/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobitron/subscriptions","organizations_url":"https://api.github.com/users/Tobitron/orgs","repos_url":"https://api.github.com/users/Tobitron/repos","events_url":"https://api.github.com/users/Tobitron/events{/privacy}","received_events_url":"https://api.github.com/users/Tobitron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tobitron/Tour-Guide","description":"An app to help you create walking tours.","fork":false,"url":"https://api.github.com/repos/Tobitron/Tour-Guide","forks_url":"https://api.github.com/repos/Tobitron/Tour-Guide/forks","keys_url":"https://api.github.com/repos/Tobitron/Tour-Guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tobitron/Tour-Guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tobitron/Tour-Guide/teams","hooks_url":"https://api.github.com/repos/Tobitron/Tour-Guide/hooks","issue_events_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/events{/number}","events_url":"https://api.github.com/repos/Tobitron/Tour-Guide/events","assignees_url":"https://api.github.com/repos/Tobitron/Tour-Guide/assignees{/user}","branches_url":"https://api.github.com/repos/Tobitron/Tour-Guide/branches{/branch}","tags_url":"https://api.github.com/repos/Tobitron/Tour-Guide/tags","blobs_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tobitron/Tour-Guide/statuses/{sha}","languages_url":"https://api.github.com/repos/Tobitron/Tour-Guide/languages","stargazers_url":"https://api.github.com/repos/Tobitron/Tour-Guide/stargazers","contributors_url":"https://api.github.com/repos/Tobitron/Tour-Guide/contributors","subscribers_url":"https://api.github.com/repos/Tobitron/Tour-Guide/subscribers","subscription_url":"https://api.github.com/repos/Tobitron/Tour-Guide/subscription","commits_url":"https://api.github.com/repos/Tobitron/Tour-Guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tobitron/Tour-Guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tobitron/Tour-Guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tobitron/Tour-Guide/contents/{+path}","compare_url":"https://api.github.com/repos/Tobitron/Tour-Guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tobitron/Tour-Guide/merges","archive_url":"https://api.github.com/repos/Tobitron/Tour-Guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tobitron/Tour-Guide/downloads","issues_url":"https://api.github.com/repos/Tobitron/Tour-Guide/issues{/number}","pulls_url":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls{/number}","milestones_url":"https://api.github.com/repos/Tobitron/Tour-Guide/milestones{/number}","notifications_url":"https://api.github.com/repos/Tobitron/Tour-Guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tobitron/Tour-Guide/labels{/name}","releases_url":"https://api.github.com/repos/Tobitron/Tour-Guide/releases{/id}","created_at":"2015-04-14T22:59:42Z","updated_at":"2015-04-20T19:50:31Z","pushed_at":"2015-04-21T15:32:51Z","git_url":"git://github.com/Tobitron/Tour-Guide.git","ssh_url":"git@github.com:Tobitron/Tour-Guide.git","clone_url":"https://github.com/Tobitron/Tour-Guide.git","svn_url":"https://github.com/Tobitron/Tour-Guide","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1"},"html":{"href":"https://github.com/Tobitron/Tour-Guide/pull/1"},"issue":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/1"},"comments":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Tobitron/Tour-Guide/statuses/d0eeaff51f2efd36221edb8581d53f7eecab7ca8"}}}}