Sha256: cf8d0387f97979256a8d17e41637cadfef6e50ac37b9ec0e634d579a056b8bba
Contents?: true
Size: 430 Bytes
Versions: 33
Compression:
Stored size: 430 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) describe "File::Stat#ino" do before :each do @file = tmp('i_exist') touch(@file) { |f| f.write "rubinius" } end after :each do rm_r @file end if ( System.get_property('platform') != 'WINDOWS' ) it "returns the ino of a File::Stat object" do st = File.stat(@file) st.ino.is_a?(Integer).should == true st.ino.should > 0 end end end
Version data entries
33 entries across 33 versions & 1 rubygems