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

Fix failing model tests

This commit is contained in:
Keith Barrette 2013-02-17 16:04:39 -05:00
parent 42c4492db8
commit ab03f25e11
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,7 @@
Shindo.tests("AWS::DataPipeline | pipelines", ['aws', 'data_pipeline']) do Shindo.tests("AWS::DataPipeline | pipelines", ['aws', 'data_pipeline']) do
model_tests(Fog::AWS[:data_pipeline].pipelines, { id: uniq_id }) do unique_id = uniq_id
@instance.wait_for { ready? } model_tests(Fog::AWS[:data_pipeline].pipelines, { id: unique_id, name: "#{unique_id}-name", unique_id: unique_id }) do
@instance.wait_for { state }
end end
end end

View file

@ -1,6 +1,7 @@
Shindo.tests("AWS::DataPipeline | pipelines", ['aws', 'data_pipeline']) do Shindo.tests("AWS::DataPipeline | pipelines", ['aws', 'data_pipeline']) do
collection_tests(Fog::AWS[:data_pipeline].servers, { id: uniq_id }) do unique_id = uniq_id
@instance.wait_for { ready? } collection_tests(Fog::AWS[:data_pipeline].pipelines, { id: unique_id, name: "#{unique_id}-name", unique_id: unique_id }) do
@instance.wait_for { state }
end end
end end