aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-14 15:50:51 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-14 15:50:51 +0100
commitbf017708ac209924a98c594dcb5b8614b28e0d32 (patch)
tree36f5f600f20a869fa95c7afb3447f0ce279f4d9a /t/app/controller
parentf81232efccfa9ce54f8c3613f1c674dfd179f46a (diff)
Added Tilma proxy for dev server
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/tilma.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/app/controller/tilma.t b/t/app/controller/tilma.t
new file mode 100644
index 000000000..0eb0b251e
--- /dev/null
+++ b/t/app/controller/tilma.t
@@ -0,0 +1,12 @@
+use strict;
+use warnings;
+
+use Test::More;
+use FixMyStreet::TestMech;
+
+my $mech = FixMyStreet::TestMech->new;
+
+$mech->get_ok('/tilma/tileserver/10k-full/3278-3283,1110-1115/JSON');
+is $mech->res->content_type, 'text/javascript', "got JS response";
+
+done_testing(); \ No newline at end of file