Sha256: 9c1d7b60aae8d5579af8184ded65c975a45991692d48f197f6e2443871f97458
Contents?: true
Size: 769 Bytes
Versions: 1
Compression:
Stored size: 769 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe DispatchRider::NotificationServices::FileSystem do describe "#notifier_builder" do it "returns the notifier builder" do expect(subject.notifier_builder).to eq(DispatchRider::NotificationServices::FileSystem::Notifier) end end describe "#channel_registrar_builder" do it "returns the channel registrar builder" do expect(subject.channel_registrar_builder).to eq(DispatchRider::Registrars::FileSystemChannel) end end describe "#channel" do it "returns the channel" do subject.channel_registrar.register(:foo, :path => "tmp/test/channel") expect(subject.channel(:foo)).to be_a(DispatchRider::NotificationServices::FileSystem::Channel) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.2.0 | spec/lib/dispatch-rider/notification_services/file_system_spec.rb |