aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-12-11 14:33:21 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-12-11 14:33:21 +0000
commit25e2c47f1b117555c36efe8ae2f6e51b4d43e782 (patch)
tree87931a505a74bc5946e60467ddcb153af474a9c6 /t/cobrand
parent31f05cc1363442fa59efd029904b775ea9fdf576 (diff)
parentfccaeb5bddf034e7e3e35184e8e49748e3a77113 (diff)
Merge branch 'rss-site-name'
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/tfl.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/cobrand/tfl.t b/t/cobrand/tfl.t
index 6b811beb4..a327a00ef 100644
--- a/t/cobrand/tfl.t
+++ b/t/cobrand/tfl.t
@@ -784,6 +784,7 @@ FixMyStreet::override_config {
$staffuser->update;
};
};
+
FixMyStreet::override_config {
ALLOWED_COBRANDS => 'tfl',
MAPIT_URL => 'http://mapit.uk/',
@@ -816,6 +817,15 @@ FixMyStreet::override_config {
$staffuser->unset_extra_metadata('2fa_secret');
$staffuser->update;
};
+
+ subtest 'RSS feed has correct name' => sub {
+ $mech->get_ok('/rss/xsl');
+ $mech->content_contains('RSS feed from the Street Care website');
+ $mech->content_lacks('FixMyStreet');
+ $mech->get_ok('/rss/problems');
+ $mech->content_contains('New problems on Street Care');
+ $mech->content_lacks('FixMyStreet');
+ };
};
FixMyStreet::override_config {