hydra/test/fixtures/write_file_spec.rb

10 lines
193 B
Ruby
Raw Normal View History

require 'tmpdir'
2010-08-23 18:42:51 +00:00
require 'rspec'
context "file writing" do
it "writes to a file" do
File.open(File.join(Dir.tmpdir, 'hydra_test.txt'), 'a') do |f|
f.write "HYDRA"
end
end
end