hydra/test/fixtures/write_file.rb

11 lines
239 B
Ruby

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'), 'w') do |f|
f.write "HYDRA"
end
end
end