aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-09-27 14:51:03 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-09-27 14:51:03 +0100
commit2b29154ffb678522152c951eff47a9f9e3757f1e (patch)
tree3f5d3ef04bc0a443f4a17d0ead8ba77907007348 /t/app/controller
parent781078aeb52ad838c682ebb061ccc2a28d3e53b1 (diff)
Include CORS cross-origin header in RSS output.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/rss.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app/controller/rss.t b/t/app/controller/rss.t
index 8b39219fa..4f737dda7 100644
--- a/t/app/controller/rss.t
+++ b/t/app/controller/rss.t
@@ -50,6 +50,7 @@ FixMyStreet::override_config {
};
$mech->content_contains( "Testing, 10th October" );
$mech->content_lacks( 'Nearest road to the pin' );
+is $mech->response->header('Access-Control-Allow-Origin'), '*';
$report->geocode(
{