mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
392 B
Ruby
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
|