aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/stringio/flush_spec.rb
blob: 75a92db85adc796029d0578e4e00a42e219d65d9 (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)

describe "StringIO#flush" do
  it "returns self" do
    io = StringIO.new("flush")
    io.flush.should equal(io)
  end
end