Sha256: 0f0d640dadb79d4e65e418d2f89d77a6dc9933dab880f3008733fe2c56e040ba

Contents?: true

Size: 311 Bytes

Versions: 8

Compression:

Stored size: 311 Bytes

Contents

require 'spec_helper'

describe Slackistrano::Messaging::Null do
  subject(:messaging) { Slackistrano::Messaging::Null.new }
  
  %w[updating reverting updated reverted failed].each do |stage|
    it "returns no payload for on #{stage}" do
      expect(messaging.payload_for(stage)).to be_nil
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
slackistrano-4.0.2 spec/messaging/null_spec.rb
slackistrano-4.0.1 spec/messaging/null_spec.rb
slackistrano-4.0.0 spec/messaging/null_spec.rb
slackistrano-3.8.4 spec/messaging/null_spec.rb
slackistrano-3.8.3 spec/messaging/null_spec.rb
slackistrano-3.8.2 spec/messaging/null_spec.rb
slackistrano-3.8.1 spec/messaging/null_spec.rb
slackistrano-3.1.1 spec/messaging/null_spec.rb