Sha256: b5c552382578c3eb0e51c0bd7cdad884fd574da5c903dcd54bcaa5056ced67b6

Contents?: true

Size: 795 Bytes

Versions: 39

Compression:

Stored size: 795 Bytes

Contents

Shindo.tests('Fog::Rackspace::AutoScale | group', ['rackspace', 'rackspace_autoscale']) do

	service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord

	options = {
		:name => "fog_#{Time.now.to_i.to_s}",
		:policies => POLICIES_OPTIONS,
		:launch_config => LAUNCH_CONFIG_OPTIONS,
		:group_config => GROUP_CONFIG_OPTIONS
	}


	model_tests(service.groups, options, false) do
    pending if Fog.mocking?
		tests('#policies').succeeds do
			@instance.policies
		end

		tests('#launch_config').succeeds do
      @instance.launch_config
	  end

	  tests('#group_config').succeeds do
      @instance.group_config
    end

    tests('#state').succeeds do
      @instance.state
    end

    tests('deactive scaling group').succeeds do
      deactive_auto_scale_group(@instance)
    end
	end

end

Version data entries

39 entries across 39 versions & 2 rubygems

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