From 62ba3756efd59ec2d39b07b5b0ccd109da355d08 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Tue, 21 Jun 2011 11:01:46 +0100 Subject: add header and footer to questionnaire success pages --- t/app/controller/questionnaire.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/app/controller') diff --git a/t/app/controller/questionnaire.t b/t/app/controller/questionnaire.t index a245be343..e56734bfc 100644 --- a/t/app/controller/questionnaire.t +++ b/t/app/controller/questionnaire.t @@ -212,6 +212,7 @@ foreach my $test ( $another = 1 if $test->{fields}{another} && $test->{fields}{another} eq 'Yes'; # Check the right HTML page has been returned + $mech->content_like( qr/[^<]*Questionnaire/m ); $mech->content_contains( 'glad to hear it’s been fixed' ) if $result eq 'fixed'; $mech->content_contains( 'get some more information about the status of your problem' ) -- cgit v1.2.3