Sha256: cde5784921893a3383487007cc037eab14413b9a27d56ee269ecb91c5929d432

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'helper'

class TestGlobbing < FunWith::Files::TestCase
  should "glob some ruby files from the test/loadable_dir directory" do
    assert FunWith::Files.respond_to?(:root)
    @loadable_dir = FunWith::Files.root("test", "loadable_dir")
    assert @loadable_dir.directory?
    @globs = @loadable_dir.glob( :recursive => true, :ext => "rb" )
    assert_equal 4, @globs.length
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fun_with_files-0.0.5 ./test/test_globbing.rb