I\'m writing an integration test for a rails application using webrat. After filling out a form, the user presses submit and an account is created.
click_but
Here is the gist with exactly what you need to do to solve this problem.
https://gist.github.com/752766