Sha256: 4e0c9c78e6b21f90ad667e2589059b04cd50a0ccd67d3960617c6d08caa3e334

Contents?: true

Size: 203 Bytes

Versions: 22

Compression:

Stored size: 203 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
hydra-0.16.2 test/fixtures/write_file_alternate_spec.rb
hydra-0.16.1 test/fixtures/write_file_alternate_spec.rb