Sha256: 97950fdb931023875ad074af59ef6273e11601534370bc233e0303441a813c24

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

require 'spec_helper'

describe Feedbook::Notifiers::NullNotifier do

  subject { Feedbook::Notifiers::NullNotifier.instance }
  
  describe '#load_configuration' do
    it 'parses configuration hash and creates client instance' do
      subject.load_configuration(hash)
    end
  end

  describe '#notify' do
    it 'create and send notification message to notifier' do
      subject.notify('message')
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
feedbook-1.1.0 spec/unit/lib/notifiers/null_notifier_spec.rb
feedbook-1.0.0 spec/unit/lib/notifiers/null_notifier_spec.rb
feedbook-0.9.1 spec/unit/lib/notifiers/null_notifier_spec.rb
feedbook-0.9.0 spec/unit/lib/notifiers/null_notifier_spec.rb