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:
parent
d59083b315
commit
322f6567af
1 changed files with 2 additions and 2 deletions
|
@ -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'] }
|
||||
|
|
Loading…
Reference in a new issue