Sha256: b1338db74029ad7bb46ea484599f0a4ae9059ec9c283f46c7f3d4868168900ae

Contents?: true

Size: 316 Bytes

Versions: 4

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 == 4
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tree.rb-0.3.10 spec/tree_rb/util/dir_processor_spec.rb
tree.rb-0.3.9 spec/tree_rb/util/dir_processor_spec.rb
tree.rb-0.3.8 spec/tree_rb/util/dir_processor_spec.rb
tree.rb-0.3.7 spec/tree_rb/util/dir_processor_spec.rb