Sha256: 25b1c7c1c7e46da1f6275720a2fe15b28569de829a66f6150eda011c69b6ae61

Contents?: true

Size: 354 Bytes

Versions: 4

Compression:

Stored size: 354 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe EM::Dir do
  describe '.[]' do
    it 'should create a `EM::Dir::Glob` instance' do
      EM::Dir['./**/*.rb'].should be_a EM::Dir::Glob
    end
  end

  describe '.glob' do
    it 'should create a `EM::Dir::Glob` instance' do
      EM::Dir['./**/*.rb'].should be_a EM::Dir::Glob
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
em-fs-0.1.2 spec/dir_spec.rb
em-fs-0.1.1 spec/dir_spec.rb
em-fs-0.1.0 spec/dir_spec.rb
em-fs-0.0.1 spec/dir_spec.rb