mirror of
https://github.com/puppetlabs/vmpooler-provider-gce.git
synced 2026-01-26 03:18:41 -05:00
fix rubocop and spec tests
This commit is contained in:
parent
daa55fe5b8
commit
a4c730df7b
5 changed files with 49 additions and 31 deletions
9
spec/dnsservice_helper.rb
Normal file
9
spec/dnsservice_helper.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue