diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-21 11:01:46 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-21 11:01:46 +0100 |
commit | 62ba3756efd59ec2d39b07b5b0ccd109da355d08 (patch) | |
tree | 4a5c93bfe5601f45875285298d34804fc813f955 /t/app/controller | |
parent | 349b9f813f07da61ca117f49d1a3746979dffac8 (diff) |
add header and footer to questionnaire success pages
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/questionnaire.t | 1 |
1 files changed, 1 insertions, 0 deletions
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/<title>[^<]*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' ) |