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/requests/dns/create_domain_tests.rb
2013-10-30 19:01:56 -04:00

17 lines
392 B
Ruby

Shindo.tests("HP::DNS | create domain tests", ['hp', 'dns', 'domain']) do
@create_format = {
"id " => String,
"name" => String,
"ttl" => Integer,
"serial" => Integer,
"email" => String,
"created_at" => String
}
tests('success') do
tests("#create_domain").formats(@create_format) do
HP[:dns].create_domain_now("name","joe@blow.com")
end
end
end