[dns|examples] fix deprecated record#ip= usage
This commit is contained in:
parent
98579a342a
commit
a1ad4cf245
|
@ -35,9 +35,9 @@ Shindo.tests('dns examples', 'dns') do
|
||||||
# type is the type of record to create
|
# type is the type of record to create
|
||||||
tests('@record = @zone.records.create').succeeds do
|
tests('@record = @zone.records.create').succeeds do
|
||||||
@record = @zone.records.create(
|
@record = @zone.records.create(
|
||||||
:ip => '1.2.3.4',
|
:value => '1.2.3.4',
|
||||||
:name => 'www.fogdnsexamples.com',
|
:name => 'www.fogdnsexamples.com',
|
||||||
:type => 'A'
|
:type => 'A'
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue