1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/dns/requests/dynect/dns_tests.rb
2011-08-04 16:00:58 -05:00

13 lines
296 B
Ruby

Shindo.tests('Dynect::dns | DNS requests', ['dynect', 'dns']) do
tests( 'success') do
test ('start api session') do
response = Dynect[:dns].session
if response.status == 200
@auth_token = response.body['token']
end
response.status == 200
end
end
end