Sha256: 6577f1967ae624a56ecacdc5dbd9818c471f1df51decb2e390d5e0004394c09b

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 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
      subject.value(:foo, channel_options).should eq("/foo/bar")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dispatch-rider-1.5.3 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.5.2 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.5.1 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.5.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb
dispatch-rider-1.4.2 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb