aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/stringio/fileno_spec.rb
blob: a5ae820830ec8901aeae80a4abf32e69ac5f5a61 (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
require File.expand_path('../shared/each', __FILE__)

describe "StringIO#fileno" do
  it "returns nil" do
    StringIO.new("nuffin").fileno.should be_nil
  end
end