[Jifty-commit] r1671 - in jifty/trunk: lib/Jifty/Test/WWW
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Jul 25 17:01:19 EDT 2006
Author: srl
Date: Tue Jul 25 17:01:18 2006
New Revision: 1671
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm
Log:
r6427 at kootenai: srl | 2006-07-25 16:58:14 -0400
Clarify POD.
Modified: jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm (original)
+++ jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm Tue Jul 25 17:01:18 2006
@@ -46,6 +46,17 @@
If there is only one action of type ACTION, be sure not to pass
any more arguments to this method, or the method will return undef.
+NOTE that if you're using this in a series of different pages or forms,
+you'll need to run it again for each new form:
+
+ $mech->fill_in_action_ok($mech->moniker_for('MyApp::Action::UpdateInfo'),
+ owner_id => 'someone');
+ $mech->submit_html_ok(value => 'Save');
+
+ is($mech->action_field_value($mech->moniker_for("MyApp::Action::UpdateInfo"),
+ 'owner_id'),
+ 'someone',
+ "Owner was reassigned properly to owner 'someone'");
=cut
@@ -419,4 +430,5 @@
return $object;
}
+
1;
More information about the Jifty-commit
mailing list