{"action":"closed","issue":{"url":"https://api.github.com/repos/mbj/mutant/issues/313","labels_url":"https://api.github.com/repos/mbj/mutant/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/mbj/mutant/issues/313/comments","events_url":"https://api.github.com/repos/mbj/mutant/issues/313/events","html_url":"https://github.com/mbj/mutant/issues/313","id":70704390,"number":313,"title":"Spec fails ./spec/unit/mutant/reporter/cli_spec.rb:59 - Tput::INSTANCE is not available","user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars.githubusercontent.com/u/1930?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrock","html_url":"https://github.com/kbrock","followers_url":"https://api.github.com/users/kbrock/followers","following_url":"https://api.github.com/users/kbrock/following{/other_user}","gists_url":"https://api.github.com/users/kbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrock/subscriptions","organizations_url":"https://api.github.com/users/kbrock/orgs","repos_url":"https://api.github.com/users/kbrock/repos","events_url":"https://api.github.com/users/kbrock/events{/privacy}","received_events_url":"https://api.github.com/users/kbrock/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-24T14:27:18Z","updated_at":"2015-05-14T21:26:52Z","closed_at":"2015-05-14T21:26:52Z","body":"using ruby 2.1.5 (not sure if this matters)\r\n\r\n```\r\nbundle exec rspec ./spec/unit/mutant/reporter/cli_spec.rb:59\r\n```\r\nfailure:\r\n```\r\n  1) Mutant::Reporter::CLI.build when not on CI and on a tty should eql #<Mutant::Reporter::CLI output=#<RSpec::Mocks::Double:0x3fe3cde540e8 @name=\"Output\"> format=#<Mutant::Reporter::CLI::Format::Framed tty=true tput=#<Mutant::Reporter::CLI::Tput available=false prepare=nil restore=nil>>>\r\n```\r\nwant to add something like this to 52:\r\n```ruby\r\n      expect(described_class::Tput::INSTANCE).to receive(:available).and_return(true)\r\n```\r\n\r\nbut it wasn't working for me\r\n\r\nthanks"}}