2012-04-06 15:29:41 -04:00
|
|
|
Shindo.tests("Fog::Compute[:hp] | address", ['hp']) do
|
|
|
|
|
2012-04-26 16:49:42 -04:00
|
|
|
@base_image_id = ENV["BASE_IMAGE_ID"] || 1242
|
2012-04-10 18:11:56 -04:00
|
|
|
|
2012-04-06 15:29:41 -04:00
|
|
|
model_tests(Fog::Compute[:hp].addresses, {}, true) do
|
|
|
|
|
2012-04-10 18:11:56 -04:00
|
|
|
@server = Fog::Compute[:hp].servers.create(:name => "fogservertests", :flavor_id => 100, :image_id => @base_image_id)
|
2012-04-06 15:29:41 -04:00
|
|
|
@server.wait_for { ready? }
|
|
|
|
|
|
|
|
tests('#server=').succeeds do
|
|
|
|
@instance.server = @server
|
|
|
|
end
|
|
|
|
|
|
|
|
@server.destroy
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|