Fixed bug where if encoding was set in the config file it wasn't used,
[catagits/Catalyst-Runtime.git] / t / lib / TestAppEncodingSetInApp.pm
diff --git a/t/lib/TestAppEncodingSetInApp.pm b/t/lib/TestAppEncodingSetInApp.pm
new file mode 100644 (file)
index 0000000..4869b94
--- /dev/null
@@ -0,0 +1,14 @@
+package TestAppEncodingSetInApp;
+use Moose;
+
+use Catalyst;
+
+extends 'Catalyst';
+
+__PACKAGE__->config(
+    encoding => 'UTF-8',
+);
+
+__PACKAGE__->setup;
+
+1;