Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Commit

rt branch, create-action, updated. aa7e885d25fafd4ce0f06b54f21069a298d9fbcf

 

 

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded


sartak at bestpractical

Nov 19, 2009, 2:00 PM

Post #1 of 1 (339 views)
Permalink
rt branch, create-action, updated. aa7e885d25fafd4ce0f06b54f21069a298d9fbcf

The branch, create-action has been updated
via aa7e885d25fafd4ce0f06b54f21069a298d9fbcf (commit)
from b1fc31f71fafb9a398a107f80d4163ff7385d897 (commit)

Summary of changes:
t/web/attachments.t | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit aa7e885d25fafd4ce0f06b54f21069a298d9fbcf
Author: Shawn M Moore <sartak [at] bestpractical>
Date: Thu Nov 19 17:00:14 2009 -0500

Use Jifty-style form submission

diff --git a/t/web/attachments.t b/t/web/attachments.t
index e21ccba..dc37f62 100644
--- a/t/web/attachments.t
+++ b/t/web/attachments.t
@@ -18,10 +18,11 @@ $m->field('queue', $qid);
$m->submit;
is($m->status, 200, "request successful");
$m->content_like(qr/Create a new ticket/, 'ticket create page');
-$m->form_name('ticket_create');
-$m->field('subject', 'Attachments test');
-$m->field('attach', LogoFile);
-$m->field('content', 'Some content');
+$m->fill_in_action_ok('create_ticket', (
+ subject => 'Attachments test',
+ attachments => LogoFile,
+ content => 'Some content',
+));
$m->submit;
is($m->status, 200, "request successful");


-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit [at] lists
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.