site5/splinter — pull request #7 by itspriddle (2012-09-10 18:27:40+00:00)
Title: Remove FormCompleter "stack" from `complete_form`

Instead of maintaining a stack of Capybara actions to run, just fire them
as soon as we yield the FormCompleter. This allows arbitrary code to be
run in the complete_form block, eg:

complete_form :blah do
f.text_field :name, "Test"
wait_until { page.find "#blah" }
end