From e2da553ff383556b6277040b2454a2d06ee70174 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 1 Feb 2013 14:12:50 +0100 Subject: [PATCH] =?utf8?q?Testcase=20f=C3=BCr=20SL::Controller::Base::rend?= =?utf8?q?er()=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- t/controllers/base/render.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/controllers/base/render.t b/t/controllers/base/render.t index 9b09045d6..716ba428c 100644 --- a/t/controllers/base/render.t +++ b/t/controllers/base/render.t @@ -20,7 +20,7 @@ sub reset_test_env { layout => SL::Layout::Javascript->new, }; - $::myconfig{stylesheet} = 'javascript'; + $::myconfig{menustyle} = 'javascript'; delete @{ $::form }{qw(header footer)}; } @@ -65,13 +65,13 @@ stdout_like { $ctrl->render(\'Hallo [% world %]', world => 'Welt') } qr//i # Menu yes/no: reset_test_env(); -stdout_like { $ctrl->render(\'Hallo [% world %]', world => 'Welt') } qr/render(\'Hallo [% world %]', world => 'Welt') } qr/render(\'Hallo [% world %]', { header => 0 }, world => 'Welt') } qr/render(\'Hallo [% world %]', { header => 0 }, world => 'Welt') } qr/render(\'Hallo [% world %]', { layout => 0 }, world => 'Welt') } qr/render(\'Hallo [% world %]', { layout => 0 }, world => 'Welt') } qr/