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

Use old hash syntax to support older ruby versions

This commit is contained in:
David Faber 2013-09-19 16:12:11 -07:00
parent ef47f6316e
commit ec63b58065

View file

@ -20,7 +20,7 @@ Shindo.tests('AWS::AutoScaling | group', ['aws', 'auto_scaling_m']) do
end
test("setting attributes in the constructor") do
group = Fog::AWS[:auto_scaling].groups.new(min_size: 1, max_size: 2)
group = Fog::AWS[:auto_scaling].groups.new(:min_size => 1, :max_size => 2)
group.min_size == 1 && group.max_size == 2
end