
sartak at bestpractical
Nov 17, 2009, 12:21 PM
Post #1 of 1
(151 views)
Permalink
|
|
rt branch, create-action, updated. 11cc35ab8ae5201e3835415fa127382d0e7ee6e2
|
|
The branch, create-action has been updated via 11cc35ab8ae5201e3835415fa127382d0e7ee6e2 (commit) from d59d9d05883437cc2c8c999b537fccc2c9b406cf (commit) Summary of changes: t/web/ticket-create-utf8.t | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) - Log ----------------------------------------------------------------- commit 11cc35ab8ae5201e3835415fa127382d0e7ee6e2 Author: Shawn M Moore <sartak [at] bestpractical> Date: Tue Nov 17 15:20:12 2009 -0500 Jifty-style action form diff --git a/t/web/ticket-create-utf8.t b/t/web/ticket-create-utf8.t index 92682ae..b52cd10 100644 --- a/t/web/ticket-create-utf8.t +++ b/t/web/ticket-create-utf8.t @@ -25,8 +25,7 @@ ok $m->login, 'logged in'; # create a ticket with a subject only { ok $m->goto_create_ticket( $q ), "go to create ticket"; - $m->form_number(3); - $m->field( subject => $ru_test ); + $m->fill_in_action_ok('create_ticket', subject => $ru_test); $m->submit; $m->content_like( @@ -38,9 +37,10 @@ ok $m->login, 'logged in'; # create a ticket with a subject and content { ok $m->goto_create_ticket( $q ), "go to create ticket"; - $m->form_number(3); - $m->field( subject => $ru_test ); - $m->field( content => $ru_support ); + $m->fill_in_action_ok('create_ticket', ( + subject => $ru_test, + content => $ru_support, + )); $m->submit; my $encoded_ru_test = Encode::encode_utf8( $ru_test ); ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit [at] lists http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|