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-1.28.0 tests/openstack/models/network/security_group_tests.rb
fog-1.27.0 tests/openstack/models/network/security_group_tests.rb
fog-1.26.0 tests/openstack/models/network/security_group_tests.rb
fog-1.25.0 tests/openstack/models/network/security_group_tests.rb
nsidc-fog-1.24.1 tests/openstack/models/network/security_group_tests.rb
fog-1.24.0 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.11 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.10 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.9 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.8 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.7 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.6 tests/openstack/models/network/security_group_tests.rb
fog-1.23.0 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.4 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.3 tests/openstack/models/network/security_group_tests.rb
ns-fog-1.22.2 tests/openstack/models/network/security_group_tests.rb
fog-1.22.1 tests/openstack/models/network/security_group_tests.rb
fog-1.22.0 tests/openstack/models/network/security_group_tests.rb
fog-1.21.0 tests/openstack/models/network/security_group_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/openstack/models/network/security_group_tests.rb