aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-09-11 08:55:16 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-09-11 08:55:16 +0100
commit423e49357bfc23694c70ed7541ced7ed489ae526 (patch)
tree960acfa4fb56dbfb98331aa4170c6b19b68207e9 /t/app
parent6eff78463e391d2ea7696d3023edffc67a96b495 (diff)
Update test for changes in 6eff7846.
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/questionnaire.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/questionnaire.t b/t/app/controller/questionnaire.t
index fb9e28859..752dbb4cb 100644
--- a/t/app/controller/questionnaire.t
+++ b/t/app/controller/questionnaire.t
@@ -407,7 +407,7 @@ FixMyStreet::override_config {
ok $token, "extracted questionnaire token '$token'";
$mech->get_ok("/Q/" . $token);
- $mech->content_contains( 'should have reported what they have done' );
+ $mech->content_lacks( 'Would you like to receive another questionnaire' );
# Test already answered the ever reported question, so not shown again
$dt = $dt->add( weeks => 4 );
@@ -428,7 +428,7 @@ FixMyStreet::override_config {
# EHA extra checking
ok $mech->host("reportemptyhomes.com"), 'change host to reportemptyhomes';
$mech->get_ok("/Q/" . $token);
- $mech->content_contains( 'made a lot of progress' );
+ $mech->content_lacks( 'Would you like to receive another questionnaire' );
$token = FixMyStreet::App->model("DB::Token")->find( { scope => 'questionnaire', token => $token } );
ok $token, 'found token for questionnaire';