blob: 22c238ad85f1f6fb1c05e7d3778241b8319837af [file] [log] [blame]
#
# This file is part of ruby-ffi.
# For licensing, see LICENSE.SPECS
#
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
if false # disabled for #390
describe "FFI::IO.for_fd" do
it "produces an IO wrapping the specified file descriptor" do
expect do
FFI::IO.for_fd(2, "r")
end.to_not raise_error
end
end
end