diff options
Diffstat (limited to 'spec/rubyspec/library/stringio/fileno_spec.rb')
-rw-r--r-- | spec/rubyspec/library/stringio/fileno_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/rubyspec/library/stringio/fileno_spec.rb b/spec/rubyspec/library/stringio/fileno_spec.rb new file mode 100644 index 0000000000..a5ae820830 --- /dev/null +++ b/spec/rubyspec/library/stringio/fileno_spec.rb @@ -0,0 +1,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 |