Sha256: eda94e7b167cbbd3603a573dd65121a56759b8a941fb73173d48f70e1d9d15b4
Contents?: true
Size: 365 Bytes
Versions: 52
Compression:
Stored size: 365 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__) describe "IO#to_i" do it "return the numeric file descriptor of the given IO object" do $stdout.to_i.should == 1 end #it "raises IOError on closed stream" do # lambda { IOSpecs.closed_io.to_i }.should raise_error(IOError) #end end
Version data entries
52 entries across 52 versions & 2 rubygems