Sha256: 41ea63a858472b24da47a6eb688c003c96f0067fbc5901c61fe176f2472ee7b9
Contents?: true
Size: 448 Bytes
Versions: 33
Compression:
Stored size: 448 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) describe "File::Stat#blksize" 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 blksize of a File::Stat object" do st = File.stat(@file) st.blksize.is_a?(Integer).should == true st.blksize.should > 0 end end end
Version data entries
33 entries across 33 versions & 1 rubygems