11 lines
203 B
Ruby
11 lines
203 B
Ruby
require 'tmpdir'
|
|
require 'spec'
|
|
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
|
|
|