Sha256: aa9a50f8f916e269516d9fa06f39a380369b073dccaf1ac626592e3ade0c36af
Contents?: true
Size: 460 Bytes
Versions: 83
Compression:
Stored size: 460 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../../spec_helper' describe "File::Stat#ino" do before :each do @file = tmp('i_exist') File.open(@file,'w'){|f| f.write 'rubinius'} end after :each do File.delete(@file) if File.exist?(@file) end it "should be able to determine the ino on a File::Stat object" do st = File.stat(@file) st.ino.is_a?(Integer).should == true st.ino.should > 0 end end
Version data entries
83 entries across 83 versions & 1 rubygems