Displaying 1 result from an estimated 1 matches for "test_sign_up".
2007 Nov 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
...sting is currently the only way to test JS, and
that may make it a requirement for your project. If JavaScript is not central
to your application, Webrat is a simpler, effective solution that will let you
run your tests much faster and more frequently. (Benchmarks forthcoming.)
== SYNOPSIS:
def test_sign_up
visits "/"
clicks_link "Sign up"
fills_in "Email", :with => "good at example.com"
select "Free account"
clicks_button "Register"
...
end
Behind the scenes, this will perform the following work:
1. Verify that...