hydra/test/fixtures/write_file_alternate_spec.rb

11 lines
222 B
Ruby
Raw Normal View History

2010-08-23 18:42:51 +00:00
require 'rspec'
require 'hydra/tmpdir'
describe "file writing" do
2010-04-04 00:32:00 +00:00
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