Change soft-fail to use the config, rather than env
[rbx.git] / spec / frozen / 1.8 / core / io / fsync_spec.rb
blob33e5beaf946b12f43ebaac7cd97e29452bf389b0
1 require File.dirname(__FILE__) + '/../../spec_helper'
2 require File.dirname(__FILE__) + '/fixtures/classes'
4 describe "IO#fsync" do
5    it "raises IOError on closed stream" do
6     lambda { IOSpecs.closed_file.fsync }.should raise_error(IOError)
7   end
8 end