Sha256: 3d2228b95cc748102d28260075c54636449cb18d4b4a63488e54f5f7cd03807b
Contents?: true
Size: 432 Bytes
Versions: 9
Compression:
Stored size: 432 Bytes
Contents
module Minimart 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.exists?(test_directory) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems