fix rubocop and spec tests

This commit is contained in:
Samuel Beaulieu 2021-12-29 12:02:55 -06:00
parent daa55fe5b8
commit a4c730df7b
No known key found for this signature in database
GPG key ID: 12030F74136D0F34
5 changed files with 49 additions and 31 deletions

View file

@ -0,0 +1,9 @@
MockDNS = Struct.new(
# https://rubydoc.info/gems/google-cloud-dns/0.35.1/Google/Cloud/Dns
:change, :credentials, :project, :record, :zone,
keyword_init: true
) do
def zone(zone)
self.zone = zone
end
end