Sha256: 2bb63ac690b3ca47518539ac53e137444ea1b3f8f9030571e9ececae93046b7f
Contents?: true
Size: 482 Bytes
Versions: 3
Compression:
Stored size: 482 Bytes
Contents
require 'spec_helper' require 'controll/notify/services_notifier' class MyController attr_reader :flash def initialize @flash = {} end end describe Controll::Notify::Typed do subject { Notifiers::Services.new controller } let(:controller) { MyController.new } describe 'notice' do specify do subject.notice.hello.should == 'hello you' end end describe 'error' do specify do subject.error.bad.should == 'bad stuff!' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
controll-0.3.2 | spec/controll/notify/typed_spec.rb |
controll-0.3.1 | spec/controll/notify/typed_spec.rb |
controll-0.3.0 | spec/controll/notify/typed_spec.rb |