[rackspace] fixing broken tests caused by bad helper

This commit is contained in:
Kyle Rames 2013-11-14 09:05:18 -06:00
parent b07f011923
commit d79626f4d7
1 changed files with 1 additions and 1 deletions

View File

@ -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)