diff options
-rw-r--r-- | lib/Sietima/CmdLine.pm | 2 | ||||
-rw-r--r-- | t/lib/Test/Sietima.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/Sietima/CmdLine.pm b/lib/Sietima/CmdLine.pm index 6c24834..b636533 100644 --- a/lib/Sietima/CmdLine.pm +++ b/lib/Sietima/CmdLine.pm @@ -141,6 +141,8 @@ sub _build_runner($self) { return Sietima::Runner->new({ spec => $self->app_spec, cmd => $self->sietima, + # App::Spec 0.005 really wants a class name + class => ref($self->sietima), }); } diff --git a/t/lib/Test/Sietima.pm b/t/lib/Test/Sietima.pm index 79f3b7a..e20aacf 100644 --- a/t/lib/Test/Sietima.pm +++ b/t/lib/Test/Sietima.pm @@ -171,7 +171,7 @@ sub run_cmdline_sub($sietima,$method,$options={},$parameters={}) { cmd => $sietima, op => $method, }); - $r->response(App::Spec::Run::Response->new); + $r->response(App::Spec::Run::Response->new(buffered=>1)); ok( lives { $sietima->$method($r) }, "calling $method should live", |