2010-01-28 15:30:18 +00:00
|
|
|
require File.join(File.dirname(__FILE__), '..', 'test_helper')
|
2010-01-27 22:19:32 +00:00
|
|
|
|
2010-01-28 15:30:18 +00:00
|
|
|
class WriteFileTest < Test::Unit::TestCase
|
2010-01-29 19:56:02 +00:00
|
|
|
def test_write_a_file
|
2010-06-09 18:24:32 +00:00
|
|
|
File.open(File.join(Dir.consistent_tmpdir, 'hydra_test.txt'), 'a') do |f|
|
2010-01-27 22:19:32 +00:00
|
|
|
f.write "HYDRA"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|