Sha256: ce8ead4d67ec573d4abe68ada4177af8b3a408249ed86b2d8fbdc03284002e73

Contents?: true

Size: 701 Bytes

Versions: 40

Compression:

Stored size: 701 Bytes

Contents

Shindo.tests('AWS::AutoScaling | group', ['aws', 'auto_scaling_m']) do

  params = {
    :id => uniq_id,
    :auto_scaling_group_name => "name",
    :availability_zones => [],
    :launch_configuration_name => "lc"
  }

  lc_params = {
    :id => params[:launch_configuration_name],
    :image_id => "image-id",
    :instance_type => "instance-type",
  }

  Fog::AWS[:auto_scaling].configurations.new(lc_params).save
  
  model_tests(Fog::AWS[:auto_scaling].groups, params, true) do
    @instance.update
  end
  
  test("setting attributes in the constructor") do
    group = Fog::AWS[:auto_scaling].groups.new(:min_size => 1, :max_size => 2)
    group.min_size == 1 && group.max_size == 2
  end

end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
fog-1.22.0 tests/aws/models/auto_scaling/groups_test.rb
fog-1.21.0 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.20.0.20140305101839 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.20.0.20140305101305 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20140212012611 tests/aws/models/auto_scaling/groups_test.rb
fog-1.20.0 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20140110004459 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20140110003812 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20140109202555 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20140107192102 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20140107142106 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.19.0.20131219203941 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131219193542 tests/aws/models/auto_scaling/groups_test.rb
fog-1.19.0 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131219033443 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131219032002 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131219030716 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131219022322 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131218202447 tests/aws/models/auto_scaling/groups_test.rb
fog-maestrodev-1.18.0.20131209091424 tests/aws/models/auto_scaling/groups_test.rb