Commit Graph
28 Commits
Author SHA1 Message Date
Matthias Bethke 96d31d45a0 Added template for render error test 2012-05-18 00:41:21 -06:00
Matthias Bethke bbfab8db4e Checking HTTP status code for TT render error test 2012-05-18 00:40:50 -06:00
Matthias Bethke 92bb64406b Checking HTTP status code in TT render error test 2012-05-18 00:37:18 -06:00
Matthias Bethke 989ea57cf9 Fixed double TT rendering on error
If a template produced a rendering error in process() but did not produce one
when called without stash variables, the Mojo::Exception would be built
incorrectly, leading to an exception that masked the original error.
2012-05-17 14:00:17 -06:00
Magnus Holm 77b9531fae Add test case for cycles 2011-09-07 11:04:25 +02:00
Cosimo Streppone dae8329981 [GH#12] Drop MojoX::* namespace
Renamed MojoX:: namespace to Mojolicious::Plugin::TtRenderer::Engine,
so there's ::Engine, ::Helper and ::Provider.

MojoX:: is deprecated and not to be used, according to @sri.
2011-08-01 11:56:25 +02:00
Htbaa dc52fec399 Inline wrappers and includes now work on Windows
closes gh-13
2011-02-26 12:46:02 +01:00
Ask Bjørn Hansen 68747b7f2f Merge remote branch 'marcusramberg/master' 2011-02-06 15:57:10 -08:00
Marcus Ramberg 323d5a9294 Change to use relative paths, add exception template for tests 2011-02-06 08:50:02 +01:00
Ask Bjørn Hansen 392b97e81a Ignore .ttc files from tests 2011-02-05 12:22:44 -08:00
Maxim Vuets 5e5c23d786 Make Mojolicious 'layout'/'extends' working 2011-02-05 10:02:09 -08:00
Marcus Ramberg 01b8f94a2b Fix inline rendering and test failures 2011-01-22 17:50:08 +01:00
Marcus Ramberg 26d555938f Fix unicode test 2011-01-22 14:42:42 +01:00
Marcus Ramberg c3e8c9ff73 Tests for plugin 2010-10-10 06:02:54 +08:00
vti 201774941a Added inline template support 2010-10-05 09:02:39 +02:00
vti 9f26a20192 Fixed template path 2010-07-29 15:14:13 +03:00
vti 988d1f954b Die when helper is not found 2010-06-15 13:42:22 +02:00
vti 1e4eeba737 Added helpers 2010-06-15 13:29:30 +02:00
vti 96d2be17b4 Made it more modern 2010-06-15 12:27:12 +02:00
giftnuss d7726cfa0e Keep plugin in sync with mojo project
- Add test template with new naming schema

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-09-09 21:15:44 -07:00
Ask Bjørn Hansen 68438d57cb Mojo can't run with -T currently 2009-09-09 21:15:38 -07:00
giftnuss 165c3b39f2 Update stash key from 'template_path' to 'template' to match mojo change
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-07-29 15:44:10 -07:00
vti e779579347 test fix 2008-12-09 16:45:28 -08:00
Ask Bjørn Hansen 8402f4f597 Update to work with named parameters in new version of Mojo
Instead of "tx" pass the context in the "c" variable
2008-11-12 00:06:20 -08:00
Ask Bjørn Hansen 62146bb307 Rename "new" to "build"
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2008-11-12 00:04:09 -08:00
vti 68783f08e2 fixes due to new Mojo::Renderer error handling, tests
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2008-11-11 23:53:28 -08:00
Ask Bjørn Hansen 844476c63d remove default boilerplate test 2008-11-09 19:37:35 -08:00
Ask Bjørn Hansen ec79234a4a Module::Starter boilerplate 2008-11-09 04:09:03 -08:00