tests/rackspace/requests/dns/helper.rb in fog-1.22.0 vs tests/rackspace/requests/dns/helper.rb in fog-1.22.1
- old
+ new
@@ -104,11 +104,11 @@
def domains_tests(service, domains_attributes, custom_delete = false)
tests("create_domains(#{domains_attributes})").formats(CREATE_DOMAINS_FORMAT) do
response = wait_for service, service.create_domains(domains_attributes)
@domain_details = response.body['response']['domains']
- @domain_ids = @domain_details.collect { |domain| domain['id'] }
+ @domain_ids = @domain_details.map { |domain| domain['id'] }
response.body['response']
end
begin
if block_given?
@@ -120,7 +120,5 @@
wait_for service, service.remove_domains(@domain_ids)
end
end
end
end
-
-