Sha256: 9374264bc2b401d3334a7ffa3244162b2aa3996681ac8c8900dd1ae668b6bffe

Contents?: true

Size: 365 Bytes

Versions: 68

Compression:

Stored size: 365 Bytes

Contents

RSpec.shared_context 'with a CollectAvailabilityZonesTask defined' do
  class CollectAvailabilityZonesTask
    attr_writer :availability_zones

    def availability_zones
      @availability_zones ||= []
    end

    def call(stack)
      self.availability_zones += stack.availability_zones
    end

    def success?
      availability_zones.any?
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

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