summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/fsync_spec.rb
blob: 8fb2b59a246831b42920b8120bd084a0616b5ff5 (plain)
1
2
3
4
5
6
7
8
9
require_relative '../../spec_helper'
require_relative 'fixtures/classes'

describe "StringIO#fsync" do
  it "returns zero" do
    io = StringIO.new("fsync")
    io.fsync.should eql(0)
  end
end