Sha256: 978905855403e7e5510425991ac6340b25198a839c614dbc7c2a6522ebceb006

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

require "spec_helper"

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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