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

Fix mocking for create server request.

Adds required `openstack_auth_url`.
This commit is contained in:
Reinaldo Junior 2013-10-14 18:23:07 -03:00
parent 739f9e2731
commit 07476351c5

View file

@ -93,7 +93,7 @@ module Fog
response.status = 202
server_id = Fog::Mock.random_numbers(6).to_s
identity = Fog::Identity[:openstack]
identity = Fog::Identity::OpenStack.new :openstack_auth_url => credentials[:openstack_auth_url]
user = identity.users.find { |u|
u.name == @openstack_username
}