diff options
Diffstat (limited to 'spec/ruby/library/stringio/fsync_spec.rb')
-rw-r--r-- | spec/ruby/library/stringio/fsync_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/library/stringio/fsync_spec.rb b/spec/ruby/library/stringio/fsync_spec.rb new file mode 100644 index 0000000000..509f4a972f --- /dev/null +++ b/spec/ruby/library/stringio/fsync_spec.rb @@ -0,0 +1,9 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../fixtures/classes', __FILE__) + +describe "StringIO#fsync" do + it "returns zero" do + io = StringIO.new("fsync") + io.fsync.should eql(0) + end +end |