Sha256: ed1310a0e0553e5babb4426c4563bbf31b42b9d6f0730265643455312379918c

Contents?: true

Size: 333 Bytes

Versions: 16

Compression:

Stored size: 333 Bytes

Contents

require 'spec_helper'
require 'paratrooper/notifier'

describe Paratrooper::Notifier do
  let(:notifier) { described_class.new }
  describe '#notify' do
    it 'sends correct method options' do
      notifier.should_receive(:update_repo_tag).with(test: 'blah')
      notifier.notify(:update_repo_tag, test: 'blah')
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
paratrooper-2.4.1 spec/paratrooper/notifier_spec.rb
paratrooper-2.4.0 spec/paratrooper/notifier_spec.rb
paratrooper-2.3.0 spec/paratrooper/notifier_spec.rb
paratrooper-2.2.0 spec/paratrooper/notifier_spec.rb
paratrooper-2.1.0 spec/paratrooper/notifier_spec.rb
paratrooper-2.0.0 spec/paratrooper/notifier_spec.rb
paratrooper-2.0.0.beta2 spec/paratrooper/notifier_spec.rb
paratrooper-2.0.0.beta1 spec/paratrooper/notifier_spec.rb
paratrooper-1.4.2 spec/paratrooper/notifier_spec.rb
paratrooper-1.4.1 spec/paratrooper/notifier_spec.rb
paratrooper-1.4.0 spec/paratrooper/notifier_spec.rb
paratrooper-1.3.2 spec/paratrooper/notifier_spec.rb
paratrooper-1.3.1 spec/paratrooper/notifier_spec.rb
paratrooper-1.2.2 spec/paratrooper/notifier_spec.rb
paratrooper-1.2.1 spec/paratrooper/notifier_spec.rb
paratrooper-1.2.0 spec/paratrooper/notifier_spec.rb