[Jifty-commit] r3122 - in jifty/trunk: t/Mapper/t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Apr 13 17:04:01 EDT 2007
Author: falcone
Date: Fri Apr 13 17:04:00 2007
New Revision: 3122
Modified:
jifty/trunk/ (props changed)
jifty/trunk/t/Mapper/t/02-api.t
Log:
r18017 at ketch: falcone | 2007-04-13 17:02:35 -0400
* WWW::Mechanize 1.22 removed the form method.
thanks to hdp for noticing/poking
Modified: jifty/trunk/t/Mapper/t/02-api.t
==============================================================================
--- jifty/trunk/t/Mapper/t/02-api.t (original)
+++ jifty/trunk/t/Mapper/t/02-api.t Fri Apr 13 17:04:00 2007
@@ -33,13 +33,13 @@
# Feeding the first action into the second should cause both to run;
# first, test via setting arguments during action creation (which sets
# sticky values)
-$mech->form(2);
+$mech->form_number(2);
ok($mech->click_button(value => "Do both"));
$mech->content_like(qr/got the grail/i, "Got the grail");
$mech->content_like(qr/crossed the bridge/i, "And crossed the bridge");
# And then, the same, but via default_values on the form field
-$mech->form(3);
+$mech->form_number(3);
ok($mech->click_button(value => "Do both"));
$mech->content_like(qr/got the grail/i, "Got the grail");
$mech->content_like(qr/crossed the bridge/i, "And crossed the bridge");
More information about the Jifty-commit
mailing list