blob: c877650ecd0c4b577082cf2b8bf9e087400bf86e (
plain)
1
2
3
4
5
6
7
8
|
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "IO#flush" do
it "raises IOError on closed stream" do
lambda { IOSpecs.closed_io.flush }.should raise_error(IOError)
end
end
|