From 16354432a7ac90d3b2423c6df134adb225c433ec Mon Sep 17 00:00:00 2001 From: Bohuslav Kabrda Date: Mon, 2 Jul 2012 12:24:17 +0200 Subject: [PATCH] Deleting returns nothing, so do not expect role --- tests/openstack/requests/identity/role_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/openstack/requests/identity/role_tests.rb b/tests/openstack/requests/identity/role_tests.rb index 347f47a3e..b1d20200b 100644 --- a/tests/openstack/requests/identity/role_tests.rb +++ b/tests/openstack/requests/identity/role_tests.rb @@ -32,7 +32,7 @@ Shindo.tests('Fog::Identity[:openstack] | role requests', ['openstack']) do Fog::Identity[:openstack].delete_user_role(@tenant['id'], @user['id'], @role['id']).body end - tests("#delete_role('#{@role['id']}')").formats(@role_format) do + tests("#delete_role('#{@role['id']}')").succeeds do Fog::Identity[:openstack].delete_role(@role['id']).body end