Sha256: fe4d291a69d67e746116cc46b127947e1523fbfe57cf931dfe403ba4c51ede67

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

require 'folio'

require(File.dirname(__FILE__) + '/test_helper')

Quarry::Design.spec "Folio Specification" do

  Dir.chdir(File.dirname(__FILE__))

  demonstrate "filio navigation" do

    c = Folio['fixture']

    calling "entries" do
      c.entries.sort.assert == ['.', '..', 'bar.txt', 'foo.txt', 'sub']
    end

    calling "paths" do
      c.paths.sort.assert == [
        Folio.file('fixture/bar.txt'),
        Folio.file('fixture/foo.txt'),
        Folio.file('fixture/sub')
      ]
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
folio-0.1.0 test/test_folio.rb
folio-0.2.0 test/test_folio.rb