Sha256: 3a8d895dd85c34b3d1e51f212f84828e2eb00cd15c888027c174ad1f14d7977d

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

require 'spec_helper'

describe Ironfan::Dsl::SecurityGroup do
  context 'with security groups' do
    let (:auth_a) { Ironfan::Dsl::SecurityGroup.new{ authorized_by_group('a') } }
    let (:auth_b) { Ironfan::Dsl::SecurityGroup.new{ authorized_by_group('b') } }

    it 'should correctly merge them' do
      auth_a.receive!(auth_b)
      auth_a.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/security_group_spec.rb
ironfan-6.1.7 spec/ironfan/security_group_spec.rb
ironfan-6.1.6 spec/ironfan/security_group_spec.rb