test/fixtures/write_file.rb in sskirby-hydra-0.21.0 vs test/fixtures/write_file.rb in sskirby-hydra-0.23.3
- old
+ new
@@ -1,9 +1,9 @@
require File.join(File.dirname(__FILE__), '..', 'test_helper')
class WriteFileTest < Test::Unit::TestCase
def test_write_a_file
- File.open(File.join(Dir.tmpdir, 'hydra_test.txt'), 'a') do |f|
+ File.open(File.join(Dir.consistent_tmpdir, 'hydra_test.txt'), 'a') do |f|
f.write "HYDRA"
end
end
end