Split into new dist
[catagits/Catalyst-Action-Serialize-Data-Serializer.git] / t / lib / Test / Serialize / View / Awful.pm
diff --git a/t/lib/Test/Serialize/View/Awful.pm b/t/lib/Test/Serialize/View/Awful.pm
deleted file mode 100644 (file)
index 9c9abf9..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package Test::Serialize::View::Awful;
-
-use base Catalyst::View;
-
-sub render {
-  my ($self, $c, $template) = @_;
-  die "I don't know how to do that!";
-}
-
-sub process {
-  my ($self, $c) = @_;
-
-  my $output = eval {
-    $self->render($c, "blah");
-  };
-
-  if ($@) {
-    my $error = qq/Couldn't render template. Error: "$@"/;
-    $c->error($error);
-    return 0;
-  }
-
-  $c->res->body($output);
-  return 1;
-}
-
-1;