aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-07 12:16:43 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-07 12:16:43 +0000
commiteed7a344d7bb599cdb100919fcc12f9833ff217d (patch)
treed1c32dbd1af03203439f0a999c09a3dc35c7cafa
parentedfb46dd144a27e1f91f7e06e63dd5c5de5459f3 (diff)
Test unconfirmed email text appears.
-rw-r--r--t/cobrand/zurich.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index f64eec2a3..4c7bdb25d 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -61,6 +61,7 @@ $mech->content_contains( DateTime->now->strftime("%d.%m.%Y") );
$mech->content_contains( 'Erfasst' );
$mech->get_ok( '/admin/report_edit/' . $report->id );
+$mech->content_contains( 'Unbest&auml;tigt' ); # Unconfirmed email
$mech->submit_form_ok( { with_fields => { state => 'confirmed' } } );
$mech->get_ok( '/report/' . $report->id );
$mech->content_contains('Aufgenommen');
@@ -149,6 +150,7 @@ $report->extra ( { %$extra } );
$report->update;
$mech->get_ok( '/admin/report_edit/' . $report->id );
+$mech->content_lacks( 'Unbest&auml;tigt' ); # Confirmed email
$mech->submit_form_ok( { with_fields => { status_update => 'FINAL UPDATE' } } );
$mech->form_with_fields( 'status_update' );
$mech->submit_form_ok( { button => 'publish_response' } );