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

[rackspace|monitoring] Correcting entity destroy logic

This commit is contained in:
Daniel Reichert 2013-07-31 15:17:50 -07:00
parent 0731db813b
commit a10070bc02

View file

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