Sha256: 7037912b5b3fcd37bf594a0f61f2069d7b644f5728177e0b640366cbc67cbf34

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

require "spec_helper"

describe MultiNotifier::Builder do
  it "builds adapter by types" do
    builder = described_class.new
    builder.use :mail

    builder.adapters.size.should == 1
    adapter = builder.adapters.first
    adapter.class.name.should == "MultiNotifier::Middlewares::Mail"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multi_notifier-0.2.0 spec/multi_notifier/builder_spec.rb