From: Sam Ruby Date: 2008-02-08T01:16:26+09:00 Subject: Re: reopen: can't change access mode from "w+" to "w"? Tanaka Akira wrote: > In article <47AAE922.5020804@intertwingly.net>, > Sam Ruby writes: > >> This breaks test/spec in a different way: >> >> IOError: not opened for reading > > Does test/spec read from STDOUT or STDERR? STDOUT >> http://intertwingly.net/projects/ruby19/logs/bacon.html > > I couldn't find reading method in spec_should-output.rb: > http://chneukirchen.org/repos/testspec/test/spec_should-output.rb That's the spec for should-output. Here's the implementation: http://chneukirchen.org/repos/testspec/lib/test/spec/should-output.rb - Sam Ruby