Sha256: acbd96f63fe81253c9c2a78d905dff352ea4778d48e410d6c9590110da6522f4
Contents?: true
Size: 470 Bytes
Versions: 4
Compression:
Stored size: 470 Bytes
Contents
require 'helper' class TestUtils < Test::Unit::TestCase def setup @original_pwd = Dir.pwd @pwd = File.join(@original_pwd, 'test') Dir.chdir @pwd end def teardown system 'rm -rf aaa' system 'rm -rf bbb' Dir.chdir @original_pwd end should "force_file_open" do f = force_file_open File.join(@pwd, 'bbb/ccc/test.txt') assert Dir.exists? 'bbb' assert Dir.exists? 'bbb/ccc' assert File.exists? 'bbb/ccc/test.txt' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hydeweb-0.0.1.pre5 | test/test_utils.rb |
hydeweb-0.0.1.pre4 | test/test_utils.rb |
hydeweb-0.0.1.pre3 | test/test_utils.rb |
hydeweb-0.0.1.pre2 | test/test_utils.rb |