Sha256: 61f466dd1e5000ab71877d080be0b73b3ea2504a2a3bc162eb5535d20aad05f3

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 spec/lib/dispatch-rider/registrars/file_system_channel_spec.rb