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:59 -05:00

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