Sha256: 7ffcea0d9a84ca16c0585887f57054184ecad26548db37247ba4150358038862
Contents?: true
Size: 330 Bytes
Versions: 52
Compression:
Stored size: 330 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) describe 'File::Stat#dev' do before :each do @name = tmp("file.txt") touch(@name) end after :each do rm_r @name end it "returns the number of the device on which the file exists" do File.stat(@name).dev.should be_kind_of(Integer) end end
Version data entries
52 entries across 52 versions & 2 rubygems