mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
using proper hash syntax for ruby 1.8.7
This commit is contained in:
parent
c7ec9711be
commit
832fefe6db
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ module Fog
|
|||
end
|
||||
|
||||
merge_attributes(options)
|
||||
merge_atributes(name: name, value: value, type: type)
|
||||
merge_atributes(:name => name, :value => value, :type => type)
|
||||
true
|
||||
end
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ Shindo.tests('Fog::DNS[:rage4] | DNS requests', ['rage4', 'dns']) do
|
|||
test("update_domain") do
|
||||
pending if Fog.mocking?
|
||||
|
||||
response = Fog::DNS[:rage4].update_domain(@domain_id, {email: 'test@test.com'})
|
||||
response = Fog::DNS[:rage4].update_domain(@domain_id, {:email => 'test@test.com'})
|
||||
|
||||
returns(200) { response.status }
|
||||
returns(true) {response.body['status']}
|
||||
|
|
Loading…
Reference in a new issue