Sha256: c057ef382ab1784abb0c1f19cff8339d84215ee1015ccbe45e3305e382a45a3c

Contents?: true

Size: 321 Bytes

Versions: 16

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'

describe DispatchRider::Registrars::FileSystemChannel do
  describe "#value" do
    let(:path) { "/foo/bar" }
    let(:channel_options) { { path: path } }

    it "returns the expanded path from the options" do
      expect(subject.value(:foo, channel_options)).to eq("/foo/bar")
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-2.0.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.9.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.6 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.5 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.4 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.3 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.2 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.1 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.8.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.7.2 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.7.1 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.7.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.6.2 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.6.1 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.6.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb