aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-11-14 09:25:42 +0000
committerDave Whiteland <dave@mysociety.org>2012-11-14 09:25:42 +0000
commit9bfeaf5027cfd89b3f65224c36c25a2112ed2768 (patch)
tree13d8aa9031973cd8297935172a386142eb869c72 /t/cobrand
parentfb50071d8b618f61abee90333e372116de24f4a8 (diff)
parentc6862472ea83b24896421c27149563213bb0f3d1 (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/councils.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/cobrand/councils.t b/t/cobrand/councils.t
new file mode 100644
index 000000000..8fb10cfbe
--- /dev/null
+++ b/t/cobrand/councils.t
@@ -0,0 +1,18 @@
+use strict;
+use warnings;
+use Test::More;
+
+use FixMyStreet::TestMech;
+my $mech = FixMyStreet::TestMech->new;
+
+foreach my $council (qw/southampton reading bromley/) {
+ SKIP: {
+ skip( "Need '$council' in ALLOWED_COBRANDS config", 3 )
+ unless FixMyStreet::Cobrand->exists($council);
+ ok $mech->host("$council.fixmystreet.com"), "change host to $council";
+ $mech->get_ok('/');
+ $mech->content_like( qr/$council/i );
+ }
+}
+
+done_testing();