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

[serverlove|compute] fix serverlove tests for 1.8.7 compatibility

This commit is contained in:
Frederick Cheung 2012-09-04 21:56:05 +01:00
parent 1c4693239b
commit 6e0d89f49f

View file

@ -30,7 +30,7 @@ Shindo.tests('Fog::Compute[:serverlove] | server requests', ['serverlove']) do
tests("#update_server").returns(true) do
@server['name'] = "Diff"
Fog::Compute[:serverlove].update_server(@server['server'], { name: @server['name']})
Fog::Compute[:serverlove].update_server(@server['server'], { :name => @server['name']})
Fog::Compute[:serverlove].servers.get(@server['server']).name == "Diff"
end