{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/comments/55135487","id":55135487,"diff_hunk":"@@ -5,7 +5,7 @@\n   let(:ticket) { create(:ticket, price: 50, conference: conference) }","path":"spec/models/ticket_spec.rb","position":1,"original_position":1,"commit_id":"00de67ba543f11514d3aad4b4e2f55d07aa39238","original_commit_id":"00de67ba543f11514d3aad4b4e2f55d07aa39238","user":{"login":"differentreality","id":4322737,"avatar_url":"https://avatars.githubusercontent.com/u/4322737?v=3","gravatar_id":"","url":"https://api.github.com/users/differentreality","html_url":"https://github.com/differentreality","followers_url":"https://api.github.com/users/differentreality/followers","following_url":"https://api.github.com/users/differentreality/following{/other_user}","gists_url":"https://api.github.com/users/differentreality/gists{/gist_id}","starred_url":"https://api.github.com/users/differentreality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differentreality/subscriptions","organizations_url":"https://api.github.com/users/differentreality/orgs","repos_url":"https://api.github.com/users/differentreality/repos","events_url":"https://api.github.com/users/differentreality/events{/privacy}","received_events_url":"https://api.github.com/users/differentreality/received_events","type":"User","site_admin":false},"body":"Let us explicitely know the currency too. When you test later for same currency in conference, I do not want to have to go search in the factory about which currency this ticket has. Since currency matters for the test you need to let me know. Either here when you create the ticket, or you need to set the currency of the ticket later, before you use ticket variable for the specific test.","created_at":"2016-03-06T09:03:39Z","updated_at":"2016-03-06T09:03:39Z","html_url":"https://github.com/openSUSE/osem/pull/837#discussion_r55135487","pull_request_url":"https://api.github.com/repos/openSUSE/osem/pulls/837","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments/55135487"},"html":{"href":"https://github.com/openSUSE/osem/pull/837#discussion_r55135487"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/837"}}},"pull_request":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/837","id":61835175,"html_url":"https://github.com/openSUSE/osem/pull/837","diff_url":"https://github.com/openSUSE/osem/pull/837.diff","patch_url":"https://github.com/openSUSE/osem/pull/837.patch","issue_url":"https://api.github.com/repos/openSUSE/osem/issues/837","number":837,"state":"open","locked":false,"title":"Tests for ticket and room model, and room controller","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"body":"I dropped the idea of testing rest of things associated with ticket cause they will be undergo major change soon enough.","created_at":"2016-03-06T06:16:47Z","updated_at":"2016-03-06T09:03:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c9caabbfbabd390da797545ae0bf51a63bcb312","assignee":{"login":"differentreality","id":4322737,"avatar_url":"https://avatars.githubusercontent.com/u/4322737?v=3","gravatar_id":"","url":"https://api.github.com/users/differentreality","html_url":"https://github.com/differentreality","followers_url":"https://api.github.com/users/differentreality/followers","following_url":"https://api.github.com/users/differentreality/following{/other_user}","gists_url":"https://api.github.com/users/differentreality/gists{/gist_id}","starred_url":"https://api.github.com/users/differentreality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differentreality/subscriptions","organizations_url":"https://api.github.com/users/differentreality/orgs","repos_url":"https://api.github.com/users/differentreality/repos","events_url":"https://api.github.com/users/differentreality/events{/privacy}","received_events_url":"https://api.github.com/users/differentreality/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/osem/pulls/837/commits","review_comments_url":"https://api.github.com/repos/openSUSE/osem/pulls/837/comments","review_comment_url":"https://api.github.com/repos/openSUSE/osem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/osem/issues/837/comments","statuses_url":"https://api.github.com/repos/openSUSE/osem/statuses/00de67ba543f11514d3aad4b4e2f55d07aa39238","head":{"label":"sonalkr132:room-ticket-tests","ref":"room-ticket-tests","sha":"00de67ba543f11514d3aad4b4e2f55d07aa39238","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"repo":{"id":31470075,"name":"osem","full_name":"sonalkr132/osem","owner":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sonalkr132/osem","description":"Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.","fork":true,"url":"https://api.github.com/repos/sonalkr132/osem","forks_url":"https://api.github.com/repos/sonalkr132/osem/forks","keys_url":"https://api.github.com/repos/sonalkr132/osem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonalkr132/osem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonalkr132/osem/teams","hooks_url":"https://api.github.com/repos/sonalkr132/osem/hooks","issue_events_url":"https://api.github.com/repos/sonalkr132/osem/issues/events{/number}","events_url":"https://api.github.com/repos/sonalkr132/osem/events","assignees_url":"https://api.github.com/repos/sonalkr132/osem/assignees{/user}","branches_url":"https://api.github.com/repos/sonalkr132/osem/branches{/branch}","tags_url":"https://api.github.com/repos/sonalkr132/osem/tags","blobs_url":"https://api.github.com/repos/sonalkr132/osem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonalkr132/osem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonalkr132/osem/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonalkr132/osem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonalkr132/osem/statuses/{sha}","languages_url":"https://api.github.com/repos/sonalkr132/osem/languages","stargazers_url":"https://api.github.com/repos/sonalkr132/osem/stargazers","contributors_url":"https://api.github.com/repos/sonalkr132/osem/contributors","subscribers_url":"https://api.github.com/repos/sonalkr132/osem/subscribers","subscription_url":"https://api.github.com/repos/sonalkr132/osem/subscription","commits_url":"https://api.github.com/repos/sonalkr132/osem/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonalkr132/osem/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonalkr132/osem/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonalkr132/osem/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonalkr132/osem/contents/{+path}","compare_url":"https://api.github.com/repos/sonalkr132/osem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonalkr132/osem/merges","archive_url":"https://api.github.com/repos/sonalkr132/osem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonalkr132/osem/downloads","issues_url":"https://api.github.com/repos/sonalkr132/osem/issues{/number}","pulls_url":"https://api.github.com/repos/sonalkr132/osem/pulls{/number}","milestones_url":"https://api.github.com/repos/sonalkr132/osem/milestones{/number}","notifications_url":"https://api.github.com/repos/sonalkr132/osem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonalkr132/osem/labels{/name}","releases_url":"https://api.github.com/repos/sonalkr132/osem/releases{/id}","deployments_url":"https://api.github.com/repos/sonalkr132/osem/deployments","created_at":"2015-02-28T17:30:19Z","updated_at":"2016-02-18T05:57:21Z","pushed_at":"2016-03-06T08:11:19Z","git_url":"git://github.com/sonalkr132/osem.git","ssh_url":"git@github.com:sonalkr132/osem.git","clone_url":"https://github.com/sonalkr132/osem.git","svn_url":"https://github.com/sonalkr132/osem","homepage":"http://osem.io","size":20816,"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":"openSUSE:master","ref":"master","sha":"ac7149fbe581921c52cbe8bf473400574a79ee10","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":5911225,"name":"osem","full_name":"openSUSE/osem","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/osem","description":"Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.","fork":false,"url":"https://api.github.com/repos/openSUSE/osem","forks_url":"https://api.github.com/repos/openSUSE/osem/forks","keys_url":"https://api.github.com/repos/openSUSE/osem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/osem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/osem/teams","hooks_url":"https://api.github.com/repos/openSUSE/osem/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/osem/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/osem/events","assignees_url":"https://api.github.com/repos/openSUSE/osem/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/osem/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/osem/tags","blobs_url":"https://api.github.com/repos/openSUSE/osem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/osem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/osem/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/osem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/osem/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/osem/languages","stargazers_url":"https://api.github.com/repos/openSUSE/osem/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/osem/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/osem/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/osem/subscription","commits_url":"https://api.github.com/repos/openSUSE/osem/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/osem/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/osem/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/osem/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/osem/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/osem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/osem/merges","archive_url":"https://api.github.com/repos/openSUSE/osem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/osem/downloads","issues_url":"https://api.github.com/repos/openSUSE/osem/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/osem/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/osem/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/osem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/osem/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/osem/releases{/id}","deployments_url":"https://api.github.com/repos/openSUSE/osem/deployments","created_at":"2012-09-22T07:40:18Z","updated_at":"2016-03-05T16:32:03Z","pushed_at":"2016-03-06T08:11:20Z","git_url":"git://github.com/openSUSE/osem.git","ssh_url":"git@github.com:openSUSE/osem.git","clone_url":"https://github.com/openSUSE/osem.git","svn_url":"https://github.com/openSUSE/osem","homepage":"http://osem.io","size":21588,"stargazers_count":106,"watchers_count":106,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":109,"forks":78,"open_issues":109,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/837"},"html":{"href":"https://github.com/openSUSE/osem/pull/837"},"issue":{"href":"https://api.github.com/repos/openSUSE/osem/issues/837"},"comments":{"href":"https://api.github.com/repos/openSUSE/osem/issues/837/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/837/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/837/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/osem/statuses/00de67ba543f11514d3aad4b4e2f55d07aa39238"}}}}