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

describe "StringIO#fcntl" do
  it "raises a NotImplementedError" do
    lambda { StringIO.new("boom").fcntl }.should raise_error(NotImplementedError)
  end
end