Sha256: a6884fc0239c66bc41e0c2952155fbfc80f182de2bc83adc9c689c808cbaa487

Contents?: true

Size: 337 Bytes

Versions: 68

Compression:

Stored size: 337 Bytes

Contents

RSpec.shared_context 'with a mock CloudFormation client' do
  let(:cf_client) do
    client = double(:cf_client, create_stack: nil, delete_stack: nil, update_stack: nil)
    allow(client).to receive(:describe_stacks) {
      fail Aws::CloudFormation::Errors::ValidationError.new(nil, 'Stack does not exist.')
    }

    client
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
convection-2.3.1 spec/cf_client_context.rb
convection-2.3.0 spec/cf_client_context.rb
convection-2.2.29 spec/cf_client_context.rb
convection-2.2.28.pre.beta.2 spec/cf_client_context.rb
convection-2.2.28.pre.beta.1 spec/cf_client_context.rb
convection-2.2.27 spec/cf_client_context.rb
convection-2.2.26 spec/cf_client_context.rb
convection-2.2.25 spec/cf_client_context.rb
convection-2.2.24 spec/cf_client_context.rb
convection-2.2.23 spec/cf_client_context.rb
convection-2.2.22 spec/cf_client_context.rb
convection-2.2.21 spec/cf_client_context.rb
convection-2.2.20 spec/cf_client_context.rb
convection-2.2.19 spec/cf_client_context.rb
convection-2.2.18 spec/cf_client_context.rb
convection-2.2.17 spec/cf_client_context.rb
convection-2.2.16 spec/cf_client_context.rb
convection-2.2.15 spec/cf_client_context.rb
convection-2.2.14 spec/cf_client_context.rb
convection-2.2.13 spec/cf_client_context.rb