test/support/name_generator.rb in azure-0.6.4 vs test/support/name_generator.rb in azure-0.7.0.pre
- old
+ new
@@ -55,9 +55,17 @@
svc.delete_queue name
rescue
end
end
+ServiceBusRelayNameHelper = NameGenerator.new do |name|
+ svc = Azure::ServiceBus::ServiceBusService.new
+ begin
+ svc.delete_relay name
+ rescue
+ end
+end
+
ServiceBusQueueNameHelper = NameGenerator.new do |name|
svc = Azure::ServiceBus::ServiceBusService.new
begin
svc.delete_queue name
rescue