Sha256: 260c0eb50cb47b76683c274d3ab2a92034c29edb352b7d327127bd5dff1f71dc
Contents?: true
Size: 738 Bytes
Versions: 16
Compression:
Stored size: 738 Bytes
Contents
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
16 entries across 16 versions & 1 rubygems