Sha256: ce71913ab665dadd56bf301f8d03dba98e45f91b0b320852433cd9d708a763ca

Contents?: true

Size: 250 Bytes

Versions: 20

Compression:

Stored size: 250 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'test_helper')

class WriteFileTest < Test::Unit::TestCase
  def test_write_a_file
    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.rb
nulogy-hydra-0.26.0 test/fixtures/write_file.rb
arturop-hydra-0.25.0 test/fixtures/write_file.rb
arturop-hydra-0.24.0 test/fixtures/write_file.rb
hydra-0.24.0 test/fixtures/write_file.rb
nulogy-hydra-0.23.2.1 test/fixtures/write_file.rb
justinf-hydra-0.23.8 test/fixtures/write_file.rb
justinf-hydra-0.23.7 test/fixtures/write_file.rb
justinf-hydra-0.23.6 test/fixtures/write_file.rb
justinf-hydra-0.23.5 test/fixtures/write_file.rb
justinf-hydra-0.23.4 test/fixtures/write_file.rb
arturop-hydra-0.23.4 test/fixtures/write_file.rb
sskirby-hydra-0.23.3 test/fixtures/write_file.rb
hydra-0.23.3 test/fixtures/write_file.rb
hydra-0.23.2 test/fixtures/write_file.rb
hydra-0.23.1 test/fixtures/write_file.rb
hydra-0.23.0 test/fixtures/write_file.rb
hydra-0.22.2 test/fixtures/write_file.rb
hydra-0.22.1 test/fixtures/write_file.rb
hydra-0.22.0 test/fixtures/write_file.rb