3fd1401513
Conflicts: test/fixtures/write_file_alternate_spec.rb test/fixtures/write_file_spec.rb
10 lines
210 B
Ruby
10 lines
210 B
Ruby
require 'rspec'
|
|
require 'hydra/tmpdir'
|
|
context "file writing" do
|
|
it "writes to a file" do
|
|
File.open(File.join(Dir.consistent_tmpdir, 'hydra_test.txt'), 'a') do |f|
|
|
f.write "HYDRA"
|
|
end
|
|
end
|
|
end
|