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

[ec2] remove debug print line, fix typo

This commit is contained in:
geemus 2010-05-22 16:05:52 -07:00
parent 881e7254e6
commit 8e0b2bf684
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ module Fog
when 'attaching'
if Time.now - volume['attachmentSet'].first['attachTime'] > Fog::Mock.delay
volume['attachmentSet'].first['status'] = 'in-use'
volume['status'] = 'in_use'
volume['status'] = 'in-use'
end
when 'creating'
if Time.now - volume['createTime'] > Fog::Mock.delay

View file

@ -27,7 +27,7 @@ Shindo.tests('AWS::EC2 | volume requests', ['aws']) do
end
tests("#detach_volume('#{@volume_id}')").formats(AWS::EC2::Formats::VOLUME_ATTACHMENT) do
AWS[:ec2].volumes.get(@volume_id).wait_for { p state; state == 'in-use' }
AWS[:ec2].volumes.get(@volume_id).wait_for { state == 'in-use' }
AWS[:ec2].detach_volume(@volume_id).body
end