mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ec2] fix typo in spec
This commit is contained in:
parent
c0503ec6ce
commit
af8318707a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ describe 'EC2.attach_volume' do
|
||||||
AWS[:ec2].delete_volume(@volume_id)
|
AWS[:ec2].delete_volume(@volume_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should raise a BadRequest error if the address does not exist" do
|
it "should raise a BadRequest error if the volume does not exist" do
|
||||||
@instance_id = AWS[:ec2].run_instances(GENTOO_AMI, 1, 1).body['instancesSet'].first['instanceId']
|
@instance_id = AWS[:ec2].run_instances(GENTOO_AMI, 1, 1).body['instancesSet'].first['instanceId']
|
||||||
lambda {
|
lambda {
|
||||||
AWS[:ec2].attach_volume(@instance_id, 'vol-00000000', '/dev/sdh')
|
AWS[:ec2].attach_volume(@instance_id, 'vol-00000000', '/dev/sdh')
|
||||||
|
|
Loading…
Add table
Reference in a new issue