diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-11-14 09:25:42 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-11-14 09:25:42 +0000 |
commit | 9bfeaf5027cfd89b3f65224c36c25a2112ed2768 (patch) | |
tree | 13d8aa9031973cd8297935172a386142eb869c72 /t/cobrand | |
parent | fb50071d8b618f61abee90333e372116de24f4a8 (diff) | |
parent | c6862472ea83b24896421c27149563213bb0f3d1 (diff) |
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 't/cobrand')
-rw-r--r-- | t/cobrand/councils.t | 18 |
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(); |