1 require File.dirname(__FILE__) + '/../../../spec_helper'
3 describe "File::Stat#blocks" do
6 File.open(@file,'w'){|f| f.write 'rubinius'}
10 File.delete(@file) if File.exist?(@file)
13 it "should be able to determine the blocks on a File::Stat object" do
15 st.blocks.is_a?(Integer).should == true