Sha256: 1d5324580c04497fc533ca891aae547b1b0227884d3578913515a70fcc8ba3d1

Contents?: true

Size: 207 Bytes

Versions: 3

Compression:

Stored size: 207 Bytes

Contents

require 'spec_helper'

describe Listen do
  describe '#to' do
    it "initalizes listner" do
      expect(Listen::Listener).to receive(:new).with('/path')
      described_class.to('/path')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
listen-2.0.3 spec/lib/listen_spec.rb
listen-2.0.2 spec/lib/listen_spec.rb
listen-2.0.1 spec/lib/listen_spec.rb