1
0
Fork 0
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:
Joshua Gross 2014-01-23 16:53:04 -05:00
parent c7ec9711be
commit 832fefe6db
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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']}