Sha256: 2f98fee8371e35c9a0028127457cf975c684cc6978639b46902286048d459d16

Contents?: true

Size: 210 Bytes

Versions: 20

Compression:

Stored size: 210 Bytes

Contents

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

Version data entries

20 entries across 20 versions & 6 rubygems

Version Path
ngauthier-hydra-0.24.0 test/fixtures/write_file_spec.rb
nulogy-hydra-0.26.0 test/fixtures/write_file_spec.rb
arturop-hydra-0.25.0 test/fixtures/write_file_spec.rb
arturop-hydra-0.24.0 test/fixtures/write_file_spec.rb
hydra-0.24.0 test/fixtures/write_file_spec.rb
nulogy-hydra-0.23.2.1 test/fixtures/write_file_spec.rb
justinf-hydra-0.23.8 test/fixtures/write_file_spec.rb
justinf-hydra-0.23.7 test/fixtures/write_file_spec.rb
justinf-hydra-0.23.6 test/fixtures/write_file_spec.rb
justinf-hydra-0.23.5 test/fixtures/write_file_spec.rb
justinf-hydra-0.23.4 test/fixtures/write_file_spec.rb
arturop-hydra-0.23.4 test/fixtures/write_file_spec.rb
sskirby-hydra-0.23.3 test/fixtures/write_file_spec.rb
hydra-0.23.3 test/fixtures/write_file_spec.rb
hydra-0.23.2 test/fixtures/write_file_spec.rb
hydra-0.23.1 test/fixtures/write_file_spec.rb
hydra-0.23.0 test/fixtures/write_file_spec.rb
hydra-0.22.2 test/fixtures/write_file_spec.rb
hydra-0.22.1 test/fixtures/write_file_spec.rb
hydra-0.22.0 test/fixtures/write_file_spec.rb