mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Fix tests based on new dns config
This commit is contained in:
parent
91248fe23a
commit
1df7ab6d34
10 changed files with 386 additions and 141 deletions
|
|
@ -14,6 +14,16 @@ class MockLogger
|
|||
end
|
||||
end
|
||||
|
||||
class MockPoolManagerDnsBase
|
||||
def delete_record(hostname)
|
||||
|
||||
end
|
||||
|
||||
def create_or_replace_record(hostname)
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
def expect_json(ok = true, http = 200)
|
||||
expect(last_response.header['Content-Type']).to eq('application/json')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue