Sha256: 39ea0aebb29e46f4a56411fa81746d244756bd8460dace9d3924542a7a2cb0a7

Contents?: true

Size: 552 Bytes

Versions: 42

Compression:

Stored size: 552 Bytes

Contents

Shindo.tests('Fog::Network[:openstack] | security_group model', ['openstack']) do

  model_tests(Fog::Network[:openstack].security_groups, {:name => "fogsecgroup"}, true)

  tests('success') do
    tests('#create').succeeds do
      attributes = {:name => "my_secgroup", :description => "my sec group desc"}
      @secgroup = Fog::Network[:openstack].security_groups.create(attributes)
      @secgroup.wait_for { ready? } unless Fog.mocking?
      !@secgroup.id.nil?
    end

    tests('#destroy').succeeds do
      @secgroup.destroy
    end
  end
end

Version data entries

42 entries across 42 versions & 6 rubygems

Version Path
fog-openstack-0.1.7 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.6 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.5 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.4 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.3 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.2 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.1 tests/openstack/models/network/security_group_tests.rb
fog-openstack-0.1.0 tests/openstack/models/network/security_group_tests.rb
fog-1.37.0 tests/openstack/models/network/security_group_tests.rb
fog-1.36.0 tests/openstack/models/network/security_group_tests.rb
fog-1.35.0 tests/openstack/models/network/security_group_tests.rb
fog-2.0.0.pre.0 tests/openstack/models/network/security_group_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/openstack/models/network/security_group_tests.rb
fog-1.34.0 tests/openstack/models/network/security_group_tests.rb
fog-1.33.0 tests/openstack/models/network/security_group_tests.rb
fog-1.32.0 tests/openstack/models/network/security_group_tests.rb
fog-1.31.0 tests/openstack/models/network/security_group_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/openstack/models/network/security_group_tests.rb
fog-1.30.0 tests/openstack/models/network/security_group_tests.rb
fog-1.29.0 tests/openstack/models/network/security_group_tests.rb