[libdancer-plugin-rest-perl] 03/12: wip
Jonas Smedegaard
dr at jones.dk
Wed Jul 2 11:45:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v0.08
in repository libdancer-plugin-rest-perl.
commit 9357ce8b4aed88aee7064e8080e9a0a4ca48df14
Author: Yanick Champoux <yanick at babyl.dyndns.org>
Date: Mon Mar 3 14:35:02 2014 -0500
wip
---
t/default-serializer.t | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/t/default-serializer.t b/t/default-serializer.t
index 728d1cb..8e4e60b 100644
--- a/t/default-serializer.t
+++ b/t/default-serializer.t
@@ -1,8 +1,6 @@
use strict;
use warnings;
-use Test::More tests => 1;
-
{
use Dancer ':tests';
use Dancer::Plugin::REST;
@@ -20,6 +18,7 @@ use Test::More tests => 1;
}
+use Test::More tests => 3;
use Dancer::Test;
response_content_like '/foo' => qr/<data/, "default serializer is XML";
@@ -27,7 +26,3 @@ response_content_like '/foo' => qr/<data/, "default serializer is XML";
response_content_like '/foo.json' => qr/"hello"\s*:\s*"world"/, "ask for JSON";
response_content_like '/foo' => qr/<data/, "default serializer is still XML";
-
-
-
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git
More information about the Pkg-perl-cvs-commits
mailing list