mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace] fixing broken tests caused by bad helper
This commit is contained in:
parent
b07f011923
commit
d79626f4d7
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module Shindo
|
|||
def rackspace_test_image_id(service)
|
||||
image_id = Fog.credentials[:rackspace_image_id]
|
||||
# I chose to use the first Ubuntu because it will work with the smallest flavor and it doesn't require a license
|
||||
image_id ||= Fog.mocking? ? @service.images.first.id : @service.images.find {|image| image.name =~ /Ubuntu/}.id # use the first Ubuntu image
|
||||
image_id ||= Fog.mocking? ? service.images.first.id : service.images.find {|image| image.name =~ /Ubuntu/}.id # use the first Ubuntu image
|
||||
end
|
||||
|
||||
def rackspace_test_flavor_id(service)
|
||||
|
|
Loading…
Reference in a new issue