Sha256: ae764ecea4b8b83e6b3acaf2b0f86a5fa99c38fc5eb8e8e86bcbb9c840136099

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

require 'helper'

class TestStatMethods < FunWith::Files::TestCase
  
  context "checking for availability of stat-enabling methods" do
    setup do
      @filepath = FunWith::Files::FilePath.new("/")
    end
    
    should "have stat methods" do
      assert_respond_to @filepath, :stat
      assert_respond_to @filepath, :inode
      assert_respond_to @filepath, :birthtime  # this (and many others) come from Pathname
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fun_with_files-0.0.18 ./test/test_stat_methods.rb