fix the state that is checked for in volume spec

This commit is contained in:
geemus 2010-06-17 14:34:19 -07:00
parent f9e8b97c8a
commit a8595ea3ee
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ describe 'Fog::AWS::EC2::Volume' do
after(:each) do after(:each) do
if @volume.id if @volume.id
@volume.wait_for { state == 'attached' } @volume.wait_for { state == 'in-use' }
@volume.server = nil @volume.server = nil
@volume.wait_for { ready? } @volume.wait_for { ready? }
@volume.destroy @volume.destroy