Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Chef Platform Cookbooks
Bind DDNS
Commits
e340c76a
Commit
e340c76a
authored
Nov 06, 2015
by
Samuel Bernard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test case on :delete for default provider
parent
f12beeda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
.kitchen.yml
.kitchen.yml
+7
-0
test/integration/client/serverspec/dns-client_spec.rb
test/integration/client/serverspec/dns-client_spec.rb
+4
-0
No files found.
.kitchen.yml
View file @
e340c76a
...
...
@@ -88,6 +88,8 @@ suites:
records
:
-
domain
:
server-ddns.chef.kitchen
data
:
eth0
-
domain
:
test-delete.chef.kitchen
data
:
"
1.2.3.4"
-
name
:
client
driver
:
...
...
@@ -104,3 +106,8 @@ suites:
records
:
-
domain
:
client-ddns.chef.kitchen
data
:
eth0
-
domain
:
test-delete.chef.kitchen
zone
:
chef.kitchen.
keyname
:
chef.kitchen
secret
:
9ZDQZxLEBuho4+O0EuGOYA==
action
:
delete
test/integration/client/serverspec/dns-client_spec.rb
View file @
e340c76a
...
...
@@ -28,3 +28,7 @@ describe host('client-ddns.chef.kitchen') do
it
{
should
be_resolvable
.
by
(
'dns'
)
}
its
(
:ipv4_address
)
{
should
eq
get_ip_eth0
}
end
describe
host
(
'test-delete.chef.kitchen'
)
do
it
{
should_not
be_resolvable
.
by
(
'dns'
)
}
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment