1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/hp/models/dns/domains_tests.rb

14 lines
No EOL
319 B
Ruby

Shindo.tests('HP::DNS | domains collection', ['hp', 'dns', 'domains']) do
attributes = {:name => 'www.fogtest.com.', :email => 'test@fogtest.com', :ttl => 3600}
collection_tests(HP[:dns].domains, attributes, true)
tests('success') do
tests('#all').succeeds do
HP[:dns].domains.all
end
end
end