Sha256: b4ecc063e74ef0788426e28574e2ae06bdcd472e97ad783ec8a30548924f5c28

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

covers 'facets/file/create'

tests File do

  test_file = 'tmp/rewrite.txt'
  test_data = 'This is a test!'

  metaunit :create do
    File.create(test_file, test_data)
    File.read(test_file).assert == test_data
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/file/test_create.rb
facets-2.9.0 test/core/file/test_create.rb
facets-2.9.0.pre.2 test/core/file/test_create.rb
facets-2.9.0.pre.1 test/core/file/test_create.rb