mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
10 lines
357 B
Ruby
10 lines
357 B
Ruby
Shindo.tests('Dynect::dns | DNS requests', ['dynect', 'dns']) do
|
|
tests( 'success') do
|
|
test "start api session" do
|
|
response = Dynect[:dns].session
|
|
returns(true) { response.body['Auth-Token'] =~ /.+=$/ && true }
|
|
returns(true) { response.body['API-Version'] == "2.3.1" }
|
|
returns(true) { response.status == 200 }
|
|
end
|
|
end
|
|
end
|