2018-03-04 10:09:32 -05:00
|
|
|
require_relative '../../spec_helper'
|
|
|
|
require_relative 'fixtures/classes'
|
2017-05-07 08:04:49 -04:00
|
|
|
|
|
|
|
describe "IO#flush" do
|
|
|
|
it "raises IOError on closed stream" do
|
|
|
|
lambda { IOSpecs.closed_io.flush }.should raise_error(IOError)
|
|
|
|
end
|
|
|
|
end
|