mirror of
https://github.com/puppetlabs/vmpooler-dns-gcp.git
synced 2026-01-26 02:58:42 -05:00
Rename for consistency
Squash working
This commit is contained in:
parent
e3a8455ead
commit
8c73d160d9
3 changed files with 144 additions and 149 deletions
|
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
require 'mock_redis'
|
||||
require 'vmpooler/dns/gcp/clouddns'
|
||||
require 'vmpooler/dns/gcp'
|
||||
|
||||
describe 'Vmpooler::PoolManager::Dns::Gcp' do
|
||||
let(:logger) { MockLogger.new }
|
||||
|
|
@ -16,7 +16,7 @@ describe 'Vmpooler::PoolManager::Dns::Gcp' do
|
|||
retry_factor: 10
|
||||
:dns_configs:
|
||||
:#{name}:
|
||||
dns_class: gcp-clouddns
|
||||
dns_class: gcp
|
||||
project: vmpooler-example
|
||||
domain: vmpooler.example.com
|
||||
zone_name: vmpooler-example-com
|
||||
|
|
@ -50,11 +50,11 @@ EOT
|
|||
) { MockRedis.new }
|
||||
end
|
||||
|
||||
subject { Vmpooler::PoolManager::Dns::Gcp::Clouddns.new(config, logger, metrics, redis_connection_pool, name, options) }
|
||||
subject { Vmpooler::PoolManager::Dns::Gcp.new(config, logger, metrics, redis_connection_pool, name, options) }
|
||||
|
||||
describe '#name' do
|
||||
it 'should be gcp-clouddns' do
|
||||
expect(subject.name).to eq('gcp-clouddns')
|
||||
it 'should be gcp' do
|
||||
expect(subject.name).to eq('gcp')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue