mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[patch] Added a wait_for block to shared examples
This commit is contained in:
parent
524a30918d
commit
a449d0dafb
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ shared_examples_for "Servers" do
|
|||
|
||||
it "should return a matching server if one exists" do
|
||||
subject.save
|
||||
subject.wait_for { ready? }
|
||||
get = @servers.get(subject.id)
|
||||
subject.attributes.should == get.attributes
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue