1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|monitoring] Fixing entity destroy logic

This commit is contained in:
Daniel Reichert 2013-07-31 15:34:18 -07:00
parent 1a1d24862c
commit 37e2ef1f0d

View file

@ -44,6 +44,6 @@ Shindo.tests('Fog::Rackspace::Monitoring | check', ['rackspace','rackspace_monit
end
end
ensure
@entity.destroy unless @entity
@entity.destroy if @entity
end
end