jnicklas/capybara — Issue #520: `#wait_until` block passes?
Author: pezra
Created: 2011-10-10 20:35:50+00:00
State: open

I often find myself wanting to write code like the following:

wait_until(30.seconds) do
page.should match_my_custom_matcher
end

Is that something that you would accept in Capybara, or would you view it as to tight an integration into the testing framework? If you would accept a patch to that effect i would be willing implement it for Rspec, TestUnit, and MiniTest.