mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
fix trailing comma for 1.8.7 compat
* remove unused reference
This commit is contained in:
parent
33612a8a2a
commit
b420473d58
1 changed files with 2 additions and 3 deletions
|
@ -229,7 +229,7 @@ Shindo.tests('Fog::Compute[:aws] | instance requests', ['aws']) do
|
||||||
"App" => "test1",
|
"App" => "test1",
|
||||||
},
|
},
|
||||||
:image_id => 'ami-3d7e2e54',
|
:image_id => 'ami-3d7e2e54',
|
||||||
:flavor_id => 't1.micro',
|
:flavor_id => 't1.micro'
|
||||||
)
|
)
|
||||||
svr2 = Fog::Compute[:aws].servers.create(
|
svr2 = Fog::Compute[:aws].servers.create(
|
||||||
:availability_zone => 'eu-west-1b',
|
:availability_zone => 'eu-west-1b',
|
||||||
|
@ -240,10 +240,9 @@ Shindo.tests('Fog::Compute[:aws] | instance requests', ['aws']) do
|
||||||
"App" => "test2",
|
"App" => "test2",
|
||||||
},
|
},
|
||||||
:image_id => 'ami-3d7e2e54',
|
:image_id => 'ami-3d7e2e54',
|
||||||
:flavor_id => 't1.micro',
|
:flavor_id => 't1.micro'
|
||||||
)
|
)
|
||||||
|
|
||||||
filters = {'tag:App' => ['test1', 'test2']}
|
|
||||||
body = Fog::Compute[:aws].describe_instances('tag:App' => ['test1', 'test2']).body
|
body = Fog::Compute[:aws].describe_instances('tag:App' => ['test1', 'test2']).body
|
||||||
tests("returns 2 hosts").returns(2) { body['reservationSet'].size }
|
tests("returns 2 hosts").returns(2) { body['reservationSet'].size }
|
||||||
svr1.destroy
|
svr1.destroy
|
||||||
|
|
Loading…
Reference in a new issue