Skip Menu |

This queue is for tickets about the Catalyst-View-TT CPAN distribution.

Report information
The Basics
Id: 75104
Status: resolved
Priority: 0/
Queue: Catalyst-View-TT

People
Owner: Nobody in particular
Requestors: fschlich [...] zedat.fu-berlin.de
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.38
Fixed in: (no value)



Subject: typo in test causes a warning
a typo in the name of the view causes a warning when running the tests: [...] t/06includepath.t ......... ok [warn] Attempted to use view 'TestApp::View::TT::AppConfig', but does not exist [...] --- a/t/lib/TestApp/Controller/Root.pm +++ b/t/lib/TestApp/Controller/Root.pm @@ -49,7 +49,7 @@ my ($self, $c) = @_; my $tmpl = $c->req->param('msg'); - $c->stash->{message} = $c->view('TT::AppConfig')->render($c, \$tmpl); + $c->stash->{message} = $c->view('TT::Appconfig')->render($c, \$tmpl); $c->stash->{template} = 'test.tt'; } Florian
applied http://git.shadowcat.co.uk/gitweb/gitweb.cgi? p=catagits/Catalyst-View- TT.git;a=commitdiff;h=9ab4951cdcaeaffc529f34d9764599213de5ff49 On Fri Feb 17 15:41:32 2012, fschlich wrote: Show quoted text
> a typo in the name of the view causes a warning when running the
tests: Show quoted text
> > [...] > t/06includepath.t ......... ok > [warn] Attempted to use view 'TestApp::View::TT::AppConfig', but does > not exist > [...] > > > --- a/t/lib/TestApp/Controller/Root.pm > +++ b/t/lib/TestApp/Controller/Root.pm > @@ -49,7 +49,7 @@ > my ($self, $c) = @_; > my $tmpl = $c->req->param('msg'); > > - $c->stash->{message} = $c->view('TT::AppConfig')->render($c, > \$tmpl); > + $c->stash->{message} = $c->view('TT::Appconfig')->render($c, > \$tmpl); > $c->stash->{template} = 'test.tt'; > } > > Florian
This was fixed in 0.39, released on 2012-04-11