From bf017708ac209924a98c594dcb5b8614b28e0d32 Mon Sep 17 00:00:00 2001 From: Edmund von der Burg Date: Thu, 14 Apr 2011 15:50:51 +0100 Subject: Added Tilma proxy for dev server --- t/app/controller/tilma.t | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 t/app/controller/tilma.t (limited to 't/app/controller/tilma.t') 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 -- cgit v1.2.3