The test passes, but the warning is still issued to $stdout.  Is that a bug in rspec-support?