Sha256: 001383c5b3947fcced97a7d04bd086751149518814e503eae3319a0de12e6e8b
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
require "spec_helper" describe MultiNotifier::Builder do it "builds adapter by types" do builder = described_class.new builder.use :mail builder.use :travis builder.adapters.size.should == 2 builder.adapters.first.class.name.should == "MultiNotifier::Middlewares::Mail" builder.adapters.last.class.name.should == "MultiNotifier::Middlewares::Travis" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multi_notifier-0.4.0 | spec/multi_notifier/builder_spec.rb |
multi_notifier-0.3.0 | spec/multi_notifier/builder_spec.rb |