+???
+ Tests that use JSON were either not checking for the version or checking in a
+ way that was a syntax error. (hdp)
+
Thu Mar 26 14:16:03 PDT 2009 (hdp) - Release 0.69
Fix RT#32342, deprecated config loses default map (hdp)
Fix broken insertion of Catalyst::Request::REST for Action::REST (jshirley)
}
SKIP: {
- eval 'require JSON 2.12;';
+ eval 'use JSON 2.12;';
skip "can't test application/json without JSON support", 3 if $@;
my $json = JSON->new;
my $at = Test::Rest->new('content_type' => 'text/doesnt-exist');
use lib ("$FindBin::Bin/lib", "$FindBin::Bin/../lib");
use Test::Rest;
-eval 'require JSON';
-plan skip_all => 'Install JSON to run this test' if ($@);
+eval 'use JSON 2.12';
+plan skip_all => 'Install JSON 2.12 or later to run this test' if ($@);
plan tests => 9;