mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
14 lines
342 B
Ruby
14 lines
342 B
Ruby
Shindo.tests("Fog::Identity[:openstack] | role", ['openstack']) do
|
|
@instance = Fog::Identity[:openstack].roles.new({:name => 'Role Name', :user_id => 1, :role_id => 1})
|
|
|
|
tests('success') do
|
|
tests('#save').returns(true) do
|
|
@instance.save
|
|
end
|
|
|
|
tests('#destroy').returns(true) do
|
|
@instance.destroy
|
|
end
|
|
end
|
|
end
|
|
|