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

fix inner/outer variable shadowing

was causing errors in 1.8.7
This commit is contained in:
geemus 2013-07-31 09:35:16 -05:00
parent f42aeec832
commit 04062770a4

View file

@ -7,7 +7,7 @@ Shindo.tests('Fog::Compute[:digitalocean] | list_ssh_keys request', ['digitaloce
tests('success') do
key = service.create_ssh_key 'fookey', 'ssh-dss FOO'
ssh_key = service.create_ssh_key 'fookey', 'ssh-dss FOO'
tests('#list_ssh_keys') do
service.list_ssh_keys.body['ssh_keys'].each do |key|
@ -17,7 +17,7 @@ Shindo.tests('Fog::Compute[:digitalocean] | list_ssh_keys request', ['digitaloce
end
end
service.destroy_ssh_key(key.body['ssh_key']['id'])
service.destroy_ssh_key(ssh_key.body['ssh_key']['id'])
end