Sha256: 5c7da6119df7d2bc546466d06e761192f845ec195e04aa9caf75b5e71425f983

Contents?: true

Size: 269 Bytes

Versions: 3

Compression:

Stored size: 269 Bytes

Contents

covers 'facets/dir/each_child'

tests Dir do

   test_directory = 'test'

   unit :each_child do
     c = []
     d = Dir.new(test_directory)
     d.each_child do |path|
       c << path
     end
     d.close
     c.sort.assert == ['core', 'more', 'tour']
   end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-2.9.0 test/core/dir/test_each_child.rb
facets-2.9.0.pre.2 test/core/dir/test_each_child.rb
facets-2.9.0.pre.1 test/core/dir/test_each_child.rb