Fix bad reference to #select method in README (Patch from Luke Melia)

This commit is contained in:
Bryan Helmkamp 2008-03-02 19:55:22 -05:00
parent 8276190de4
commit 6c85b294f1
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
== SVN == SVN
* Fix bad reference to #select method in README (Patch from Luke Melia)
* Allow specifying the input name/label when doing a select (Patch from David Chelimsky) * Allow specifying the input name/label when doing a select (Patch from David Chelimsky)
* Raise a specific exception if the developer tries to manipulate form elements before loading a page (Patch from James Deville) * Raise a specific exception if the developer tries to manipulate form elements before loading a page (Patch from James Deville)
* Add basic support for Rails-generated JavaScript link tags * Add basic support for Rails-generated JavaScript link tags

View File

@ -1,8 +1,7 @@
= Webrat - Ruby Acceptance Testing for Web applications = Webrat - Ruby Acceptance Testing for Web applications
by Bryan Helmkamp <bryan@brynary.com> and Seth Fitzsimmons <seth@mojodna.net>. * mailto:bryan@brynary.com
* mailto:seth@mojodna.net
Initial development sponsored by EastMedia (http://www.eastmedia.com).
== DESCRIPTION: == DESCRIPTION:
@ -19,13 +18,15 @@ 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 to your application, Webrat is a simpler, effective solution that will let you
run your tests much faster and more frequently. (Benchmarks forthcoming.) run your tests much faster and more frequently. (Benchmarks forthcoming.)
Initial development was sponsored by EastMedia (http://www.eastmedia.com).
== SYNOPSIS: == SYNOPSIS:
def test_sign_up def test_sign_up
visits "/" visits "/"
clicks_link "Sign up" clicks_link "Sign up"
fills_in "Email", :with => "good@example.com" fills_in "Email", :with => "good@example.com"
select "Free account" selects "Free account"
clicks_button "Register" clicks_button "Register"
... ...
end end