{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5958","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5958/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5958/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5958/events","html_url":"https://github.com/ManageIQ/manageiq/issues/5958","id":123493190,"number":5958,"title":"Rspec warns about deprecated code coming from rspec-fire gem","user":{"login":"abonas","id":6277245,"avatar_url":"https://avatars.githubusercontent.com/u/6277245?v=3","gravatar_id":"","url":"https://api.github.com/users/abonas","html_url":"https://github.com/abonas","followers_url":"https://api.github.com/users/abonas/followers","following_url":"https://api.github.com/users/abonas/following{/other_user}","gists_url":"https://api.github.com/users/abonas/gists{/gist_id}","starred_url":"https://api.github.com/users/abonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abonas/subscriptions","organizations_url":"https://api.github.com/users/abonas/orgs","repos_url":"https://api.github.com/users/abonas/repos","events_url":"https://api.github.com/users/abonas/events{/privacy}","received_events_url":"https://api.github.com/users/abonas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/test","name":"test","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-22T14:45:55Z","updated_at":"2016-03-15T14:13:37Z","closed_at":null,"body":"This warning is displayed when running rspec tests:\r\n\"RSpec::Mocks::Mock is deprecated. Use RSpec::Mocks::Double instead. Called from /home/abonas/.rvm/gems/ruby-2.2.3/gems/rspec-fire-1.3.0/lib/rspec/fire/legacy.rb:239:in `<module:Fire>'\"\r\n\r\nThe warning is originated from here:\r\nhttps://github.com/xaviershay/rspec-fire/blob/master/lib/rspec/fire/legacy.rb#L239\r\n\r\nThe gem is used [here](https://github.com/ManageIQ/manageiq/blob/master/spec/spec_helper.rb#L14), but looking at its repo - it's marked as \"obsolete\" because there's a similar functionality in rspec3 (rspec-mocks), so it looks like it needs some cleanup in manageiq code to remove its usage."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/196839383","html_url":"https://github.com/ManageIQ/manageiq/issues/5958#issuecomment-196839383","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5958","id":196839383,"user":{"login":"chrisarcand","id":2430490,"avatar_url":"https://avatars.githubusercontent.com/u/2430490?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisarcand","html_url":"https://github.com/chrisarcand","followers_url":"https://api.github.com/users/chrisarcand/followers","following_url":"https://api.github.com/users/chrisarcand/following{/other_user}","gists_url":"https://api.github.com/users/chrisarcand/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisarcand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisarcand/subscriptions","organizations_url":"https://api.github.com/users/chrisarcand/orgs","repos_url":"https://api.github.com/users/chrisarcand/repos","events_url":"https://api.github.com/users/chrisarcand/events{/privacy}","received_events_url":"https://api.github.com/users/chrisarcand/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T14:13:37Z","updated_at":"2016-03-15T14:13:37Z","body":"This is fixed via the upgrade to RSpec 3 and can be closed."}}