1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

making tests ruby 1.8.7 friendly

This commit is contained in:
Joshua Gross 2014-03-18 16:47:22 -04:00
parent d59083b315
commit 322f6567af

View file

@ -173,7 +173,7 @@ Shindo.tests('Fog::DNS[:rage4] | DNS requests', ['rage4', 'dns']) do
name = "www." + @domain
type = 2 #"A"
data = "1.2.3.5"
options = { udplimit: true }
options = { :udplimit => true }
response = Fog::DNS[:rage4].create_record(@domain_id, name , data, type, options)
if response.status == 200
@ -204,7 +204,7 @@ Shindo.tests('Fog::DNS[:rage4] | DNS requests', ['rage4', 'dns']) do
name = "www." + @domain
type = 2 #"A"
data = "4.3.2.1"
options = { udplimit: true }
options = { :udplimit => true }
response = Fog::DNS[:rage4].update_record(@record_id, name, data, type, options)
returns(@record_id) { response.body['id'] }