{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/34556092","id":34556092,"diff_hunk":"@@ -1,10 +1,11 @@\n require 'test_helper'\n \n-class FactValueTest < ActionDispatch::IntegrationTest\n+class FactValueIntegrationTest < ActionDispatch::IntegrationTest\n   def setup\n     @host = FactoryGirl.create(:host)\n-    FactoryGirl.create(:fact_value, :value => '2.6.9',:host => @host,\n-                       :fact_name => FactoryGirl.create(:fact_name, :name => 'kernelversion'))\n+    @fact_name = FactoryGirl.create(:fact_name)\n+    @value = FactoryGirl.create(:fact_value, :host => @host,\n+                       :fact_name => @fact_name)","path":"test/integration/fact_value_test.rb","position":11,"original_position":11,"commit_id":"f59c74e54d025d47c564bd304d29354b810c2a76","original_commit_id":"f59c74e54d025d47c564bd304d29354b810c2a76","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"body":"indentation's a bit odd","created_at":"2015-07-14T10:48:55Z","updated_at":"2015-07-14T10:48:55Z","html_url":"https://github.com/theforeman/foreman/pull/2534#discussion_r34556092","pull_request_url":"https://api.github.com/repos/theforeman/foreman/pulls/2534","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/34556092"},"html":{"href":"https://github.com/theforeman/foreman/pull/2534#discussion_r34556092"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2534"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/2534","id":39702538,"html_url":"https://github.com/theforeman/foreman/pull/2534","diff_url":"https://github.com/theforeman/foreman/pull/2534.diff","patch_url":"https://github.com/theforeman/foreman/pull/2534.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/2534","number":2534,"state":"open","locked":false,"title":"Fixes #11089 - Adapt tests to Rails 4","user":{"login":"eLobato","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/eLobato","html_url":"https://github.com/eLobato","followers_url":"https://api.github.com/users/eLobato/followers","following_url":"https://api.github.com/users/eLobato/following{/other_user}","gists_url":"https://api.github.com/users/eLobato/gists{/gist_id}","starred_url":"https://api.github.com/users/eLobato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLobato/subscriptions","organizations_url":"https://api.github.com/users/eLobato/orgs","repos_url":"https://api.github.com/users/eLobato/repos","events_url":"https://api.github.com/users/eLobato/events{/privacy}","received_events_url":"https://api.github.com/users/eLobato/received_events","type":"User","site_admin":false},"body":"This commit contains all changes to tests in branch\r\nhttps://github.com/theforeman/foreman/pull/2055 that I found to be\r\nretrocompatible with Rails 3. The more of these we can get in, the less\r\ncode we will have to review for Rails 4, and the more relevant it will\r\nbe, as it'll be all completly Rails 4 specific.","created_at":"2015-07-10T16:46:55Z","updated_at":"2015-07-14T10:48:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79aa6b982bd76ad55410d520c4797d0d64de0bb2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/2534/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/2534/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/2534/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/f59c74e54d025d47c564bd304d29354b810c2a76","head":{"label":"eLobato:11089","ref":"11089","sha":"f59c74e54d025d47c564bd304d29354b810c2a76","user":{"login":"eLobato","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/eLobato","html_url":"https://github.com/eLobato","followers_url":"https://api.github.com/users/eLobato/followers","following_url":"https://api.github.com/users/eLobato/following{/other_user}","gists_url":"https://api.github.com/users/eLobato/gists{/gist_id}","starred_url":"https://api.github.com/users/eLobato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLobato/subscriptions","organizations_url":"https://api.github.com/users/eLobato/orgs","repos_url":"https://api.github.com/users/eLobato/repos","events_url":"https://api.github.com/users/eLobato/events{/privacy}","received_events_url":"https://api.github.com/users/eLobato/received_events","type":"User","site_admin":false},"repo":{"id":5842097,"name":"foreman","full_name":"eLobato/foreman","owner":{"login":"eLobato","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/eLobato","html_url":"https://github.com/eLobato","followers_url":"https://api.github.com/users/eLobato/followers","following_url":"https://api.github.com/users/eLobato/following{/other_user}","gists_url":"https://api.github.com/users/eLobato/gists{/gist_id}","starred_url":"https://api.github.com/users/eLobato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLobato/subscriptions","organizations_url":"https://api.github.com/users/eLobato/orgs","repos_url":"https://api.github.com/users/eLobato/repos","events_url":"https://api.github.com/users/eLobato/events{/privacy}","received_events_url":"https://api.github.com/users/eLobato/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eLobato/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/eLobato/foreman","forks_url":"https://api.github.com/repos/eLobato/foreman/forks","keys_url":"https://api.github.com/repos/eLobato/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eLobato/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eLobato/foreman/teams","hooks_url":"https://api.github.com/repos/eLobato/foreman/hooks","issue_events_url":"https://api.github.com/repos/eLobato/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/eLobato/foreman/events","assignees_url":"https://api.github.com/repos/eLobato/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/eLobato/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/eLobato/foreman/tags","blobs_url":"https://api.github.com/repos/eLobato/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eLobato/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eLobato/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/eLobato/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eLobato/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/eLobato/foreman/languages","stargazers_url":"https://api.github.com/repos/eLobato/foreman/stargazers","contributors_url":"https://api.github.com/repos/eLobato/foreman/contributors","subscribers_url":"https://api.github.com/repos/eLobato/foreman/subscribers","subscription_url":"https://api.github.com/repos/eLobato/foreman/subscription","commits_url":"https://api.github.com/repos/eLobato/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/eLobato/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/eLobato/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/eLobato/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/eLobato/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/eLobato/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eLobato/foreman/merges","archive_url":"https://api.github.com/repos/eLobato/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eLobato/foreman/downloads","issues_url":"https://api.github.com/repos/eLobato/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/eLobato/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/eLobato/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/eLobato/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eLobato/foreman/labels{/name}","releases_url":"https://api.github.com/repos/eLobato/foreman/releases{/id}","created_at":"2012-09-17T14:23:49Z","updated_at":"2015-05-06T16:17:15Z","pushed_at":"2015-07-14T05:36:59Z","git_url":"git://github.com/eLobato/foreman.git","ssh_url":"git@github.com:eLobato/foreman.git","clone_url":"https://github.com/eLobato/foreman.git","svn_url":"https://github.com/eLobato/foreman","homepage":"http://theforeman.org","size":31517,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"d575926a689fd6abd6f26ee2823ce95eef07dd38","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","created_at":"2009-07-23T15:07:00Z","updated_at":"2015-07-13T18:38:44Z","pushed_at":"2015-07-14T08:24:53Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":84773,"stargazers_count":803,"watchers_count":803,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":408,"mirror_url":null,"open_issues_count":84,"forks":408,"open_issues":84,"watchers":803,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2534"},"html":{"href":"https://github.com/theforeman/foreman/pull/2534"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/2534"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/2534/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2534/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/2534/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/f59c74e54d025d47c564bd304d29354b810c2a76"}}}}