Sha256: 1a31a1fc08f753db5c3802f1f0fb54c76518f62e170b436ececabe08f2e9ecb2
Contents?: true
Size: 431 Bytes
Versions: 11
Compression:
Stored size: 431 Bytes
Contents
module CapsuleCD module RSpecSupport module FileSystem def test_directory 'spec/tmp' end def test_directory_contents Dir.glob(File.join(test_directory, '*/**')) end def make_test_directory FileUtils.mkdir_p(test_directory) end def remove_test_directory FileUtils.remove_dir(test_directory) if Dir.exist?(test_directory) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems