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.20.0 test/fixtures/write_file_alternate_spec.rb
bellmyer-hydra-0.20.12 test/fixtures/write_file_alternate_spec.rb
bellmyer-hydra-0.20.11 test/fixtures/write_file_alternate_spec.rb
bellmyer-hydra-0.20.10 test/fixtures/write_file_alternate_spec.rb
bellmyer-hydra-0.20.9 test/fixtures/write_file_alternate_spec.rb
hydra-0.19.4 test/fixtures/write_file_alternate_spec.rb
hydra-0.19.3 test/fixtures/write_file_alternate_spec.rb
hydra-0.19.2 test/fixtures/write_file_alternate_spec.rb
hydra-0.19.1 test/fixtures/write_file_alternate_spec.rb
hydra-0.19.0 test/fixtures/write_file_alternate_spec.rb
hydra-0.18.0 test/fixtures/write_file_alternate_spec.rb
sskirby-hydra-0.17.1 test/fixtures/write_file_alternate_spec.rb
sskirby-hydra-0.16.10 test/fixtures/write_file_alternate_spec.rb
hydra-0.17.0 test/fixtures/write_file_alternate_spec.rb
sskirby-hydra-0.16.9 test/fixtures/write_file_alternate_spec.rb
hydra-0.16.7 test/fixtures/write_file_alternate_spec.rb
hydra-0.16.6 test/fixtures/write_file_alternate_spec.rb
hydra-0.16.5 test/fixtures/write_file_alternate_spec.rb
hydra-0.16.4 test/fixtures/write_file_alternate_spec.rb
hydra-0.16.3 test/fixtures/write_file_alternate_spec.rb