{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello/issues/5603","labels_url":"https://api.github.com/repos/Katello/katello/issues/5603/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello/issues/5603/comments","events_url":"https://api.github.com/repos/Katello/katello/issues/5603/events","html_url":"https://github.com/Katello/katello/pull/5603","id":117443551,"number":5603,"title":"Refs #10970 - Fix provider model to throw exception on dependent destroy","user":{"login":"cpeters","id":510906,"avatar_url":"https://avatars.githubusercontent.com/u/510906?v=3","gravatar_id":"","url":"https://api.github.com/users/cpeters","html_url":"https://github.com/cpeters","followers_url":"https://api.github.com/users/cpeters/followers","following_url":"https://api.github.com/users/cpeters/following{/other_user}","gists_url":"https://api.github.com/users/cpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/cpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpeters/subscriptions","organizations_url":"https://api.github.com/users/cpeters/orgs","repos_url":"https://api.github.com/users/cpeters/repos","events_url":"https://api.github.com/users/cpeters/events{/privacy}","received_events_url":"https://api.github.com/users/cpeters/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Katello/katello/labels/Needs%20testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/Katello/katello/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T20:30:33Z","updated_at":"2015-11-17T20:31:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/5603","html_url":"https://github.com/Katello/katello/pull/5603","diff_url":"https://github.com/Katello/katello/pull/5603.diff","patch_url":"https://github.com/Katello/katello/pull/5603.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Katello/katello/issues/comments/157497976","html_url":"https://github.com/Katello/katello/pull/5603#issuecomment-157497976","issue_url":"https://api.github.com/repos/Katello/katello/issues/5603","id":157497976,"user":{"login":"cpeters","id":510906,"avatar_url":"https://avatars.githubusercontent.com/u/510906?v=3","gravatar_id":"","url":"https://api.github.com/users/cpeters","html_url":"https://github.com/cpeters","followers_url":"https://api.github.com/users/cpeters/followers","following_url":"https://api.github.com/users/cpeters/following{/other_user}","gists_url":"https://api.github.com/users/cpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/cpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpeters/subscriptions","organizations_url":"https://api.github.com/users/cpeters/orgs","repos_url":"https://api.github.com/users/cpeters/repos","events_url":"https://api.github.com/users/cpeters/events{/privacy}","received_events_url":"https://api.github.com/users/cpeters/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T20:31:38Z","updated_at":"2015-11-17T20:31:38Z","body":"This resolves the following error:\r\n\r\nKatello::Provider#test_0001_should be destroyable [/home/vagrant/katello/spec/models/provider_spec.rb:383]:\r\nActiveRecord::DeleteRestrictionError expected but nothing was raised.\r\n"}}