diff --git a/tests/rackspace/models/monitoring/alarm_tests.rb b/tests/rackspace/models/monitoring/alarm_tests.rb index 42431af94..2b582bbf8 100644 --- a/tests/rackspace/models/monitoring/alarm_tests.rb +++ b/tests/rackspace/models/monitoring/alarm_tests.rb @@ -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