Sha256: abc411495830836c391b6078eac6794f018aad3b6387493b19589111d839336e

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

require 'spec_helper'

describe EM::File do
  describe '.stat' do
    before :all do
      @stat = nil
      EM.run do
        EM::File.stat File.join(SPEC_ROOT, 'data') do |stat|
          @stat = stat
          EM.stop_event_loop
        end
      end
    end

    it 'should return a `EM::File::Stat`' do
      @stat.should be_a EM::File::Stat
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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