I've noticed a weird problem where whenever I add any formatter in my spec_helper, RSpec output gets sent to the window Spork is running in instead of the window I initiate tests from. It doesn't matter if I add the formatter in the prefork block, the each_run block, or both. It happens even when I add the default formatter! ("progress") For example, when I do this in my spec_helper.rb:
RSpec.configure do |c|
The output is fine if I don't add any formatters, and anything that prints to STDOUT from my tests or code also show up in the correct window. I have a feeling that it has something to do with IO objects being cached or something... is adding formatters just not supported?
I'm having the same issue, even though I'm not setting add_formatter anywhere.