hydra/test/fixtures/write_file_alternate_spec.rb
2010-04-03 20:32:00 -04:00

10 lines
188 B
Ruby

require 'tmpdir'
context "file writing" do
it "writes to a file" do
File.open(File.join(Dir.tmpdir, 'alternate_hydra_test.txt'), 'a') do |f|
f.write "HYDRA"
end
end
end