Sha256: 82da8e5b2818938a559cc0b103273bdf8536f458868223dda26713eb144c8437

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

require 'spec_helper'

describe Ironfan::Dsl::Ec2 do
  context 'with cloud-level security groups' do
    let (:cloud_a) { Ironfan::Dsl::Ec2.new{ security_group('s').authorized_by_group('a') } }
    let (:cloud_b) { Ironfan::Dsl::Ec2.new{ security_group('s').authorized_by_group('b') } }

    it 'should correctly merge them' do
      pending('fixes to apparent design bugs in Ironfan/Gorillib resolution')

      cloud_a.receive! cloud_b
      cloud_a.security_group('s').group_authorized_by.sort.should == %w[ a b ]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ironfan-6.1.9 spec/ironfan/ec2_spec.rb
ironfan-6.1.7 spec/ironfan/ec2_spec.rb
ironfan-6.1.6 spec/ironfan/ec2_spec.rb