version 1.2, 2010/01/31 04:24:55 |
version 1.3, 2010/02/13 21:45:54 |
|
|
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# COMPANY: Red River Communications |
# COMPANY: Red River Communications |
# CREATED: 01/07/10 19:11 |
# CREATED: 01/07/10 19:11 |
# REVISION: $AFresh1: json.t,v 1.1 2010/01/31 03:58:58 andrew Exp $ |
# REVISION: $AFresh1: json.t,v 1.2 2010/01/31 04:24:55 andrew Exp $ |
#=============================================================================== |
#=============================================================================== |
|
|
use strict; |
use strict; |
|
|
my $result; |
my $result; |
my $api = new_ok($class); |
my $api = new_ok($class); |
|
|
is( $api->content_type, 'text/plain', 'Check content_type' ); |
is( $api->content_type, 'application/json', 'Check content_type' ); |
|
|
my $files = ['todo.txt']; |
my $files = ['todo.txt']; |
|
|