Sha256: ebec9b9921fed910391e1e32c841884eea6a11b60336a9dbbf6e289b25bb26cb
Contents?: true
Size: 1.06 KB
Versions: 6
Compression:
Stored size: 1.06 KB
Contents
Shindo.tests("Fog::Network[:openstack] | vpn_service", ['openstack']) do tests('success') do tests('#create').succeeds do @instance = Fog::Network[:openstack].vpn_services.create(:subnet_id => 'foo', :router_id => 'bar', :name => 'test', :description => 'test', :admin_state_up => true, :tenant_id => 'tenant') !@instance.id.nil? end tests('#update').succeeds do @instance.subnet_id = 'new' @instance.router_id = 'new' @instance.name = 'rename' @instance.description = 'new' @instance.admin_state_up = false @instance.tenant_id = 'baz' @instance.update end tests('#destroy').succeeds do @instance.destroy == true end end end
Version data entries
6 entries across 6 versions & 1 rubygems