{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/2159","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/2159/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/2159/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/2159/events","html_url":"https://github.com/theforeman/foreman/pull/2159","id":57732426,"number":2159,"title":"Fixes #7407 - added tests to make sure things are working as expected","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/Waiting%20on%20contributor","name":"Waiting on contributor","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-15T14:43:56Z","updated_at":"2015-02-25T08:42:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/2159","html_url":"https://github.com/theforeman/foreman/pull/2159","diff_url":"https://github.com/theforeman/foreman/pull/2159.diff","patch_url":"https://github.com/theforeman/foreman/pull/2159.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/75924330","html_url":"https://github.com/theforeman/foreman/pull/2159#issuecomment-75924330","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/2159","id":75924330,"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},"created_at":"2015-02-25T08:42:23Z","updated_at":"2015-02-25T08:42:23Z","body":"@unorthodoxgeek See inline comments, tests are fine as they are now (clone is tested) in my opinion, no need to check they are saved in the db. Also the two commits have to be rebased into one with 'fixes' as @domcleal said above, thanks!"}}