hydra/test/fixtures/write_file_spec.rb
Nick Gauthier 3fd1401513 Merge branch 'weplay'
Conflicts:
	test/fixtures/write_file_alternate_spec.rb
	test/fixtures/write_file_spec.rb
2010-09-02 16:08:08 -05:00

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