hydra/test/fixtures/write_file_alternate_spec.rb

11 lines
220 B
Ruby
Raw Normal View History

require 'hydra/tmpdir'
require 'spec'
2010-04-04 00:32:00 +00:00
context "file writing" do
it "writes to a file" do
File.open(File.join(Dir.consistent_tmpdir, 'alternate_hydra_test.txt'), 'a') do |f|
2010-04-04 00:32:00 +00:00
f.write "HYDRA"
end
end
end