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

[rackspace|compute] avoid name in servers.create in test setup

This commit is contained in:
geemus 2010-12-21 13:21:57 -08:00
parent c15c4dbb2d
commit bf9a56c57c
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ Shindo.tests('Rackspace::Compute | address requests', ['rackspace']) do
tests('success') do
@server = Rackspace[:compute].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foglistaddresses')
@server = Rackspace[:compute].servers.create(:flavor_id => 1, :image_id => 19)
tests("#list_addresses(#{@server.id})").formats({'addresses' => {'private' => [String], 'public' => [String]}}) do
Rackspace[:compute].list_addresses(@server.id).body

View file

@ -14,7 +14,7 @@ Shindo.tests('Rackspace::Compute | image requests', ['rackspace']) do
tests('success') do
@server = Rackspace[:compute].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foggetserverdetails')
@server = Rackspace[:compute].servers.create(:flavor_id => 1, :image_id => 19)
@server.wait_for { ready? }
@image_id = nil