{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/2795","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/2795/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/2795/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/2795/events","html_url":"https://github.com/theforeman/foreman/pull/2795","id":110396375,"number":2795,"title":"fixes #12097 - compatible updates in user_test","user":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/theforeman/foreman/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-08T08:25:58Z","updated_at":"2015-10-08T11:59:34Z","closed_at":"2015-10-08T11:58:34Z","pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/2795","html_url":"https://github.com/theforeman/foreman/pull/2795","diff_url":"https://github.com/theforeman/foreman/pull/2795.diff","patch_url":"https://github.com/theforeman/foreman/pull/2795.patch"},"body":"user_test - in real life we don't assign roles without a user existing, thus, in test we can assign after user created as well. UserRole presence validation on owner doesn't work in creation, as apparently polymorphic associations aren't populated on create, just after they're actually saved."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/146516747","html_url":"https://github.com/theforeman/foreman/pull/2795#issuecomment-146516747","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/2795","id":146516747,"user":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T11:59:34Z","updated_at":"2015-10-08T11:59:34Z","body":"closed, pushing fix to UserRole in rails4 branch"}}