mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
9 lines
No EOL
361 B
Ruby
9 lines
No EOL
361 B
Ruby
Shindo.tests('HP::DNS | records collection', ['hp', 'dns', 'records']) do
|
|
|
|
@domain = HP[:dns].domains.create({:name => 'www.fogtest.com.', :email => 'test@fogtest.com'})
|
|
|
|
attributes = {:domain_id => @domain.id, :name => 'www.fogtest.com.', :type => 'A', :data => '15.185.172.152'}
|
|
collection_tests(@domain.records, attributes, true)
|
|
|
|
@domain.destroy
|
|
end |