new config attr that lets you override the default content type
[catagits/Catalyst-View-TT.git] / t / 14alt_content_type.t
diff --git a/t/14alt_content_type.t b/t/14alt_content_type.t
new file mode 100644 (file)
index 0000000..bed2f0f
--- /dev/null
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+use Test::More;
+
+use FindBin;
+use lib "$FindBin::Bin/lib";
+
+use_ok('Catalyst::Test', 'TestApp');
+is(request("/test_alt_content_type")->header('Content-Type'), 'text/plain');
+
+done_testing;