Sha256: 65cca5f6d990b34502fccf045cafa9cc83387bf89dc80df4b78e9b605b31462a

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

# -*- coding: utf-8 -*-
require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")

describe DirProcessor do

  it "should capture all files" do
    files = []
    dp    = DirProcessor.new { |f| files << f }
    dp.process(FIXTURES)

    # puts files
    files.length.should == 3
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tree.rb-0.3.6 spec/tree_rb/util/dir_processor_spec.rb