version 1.1, 2010/01/17 19:41:24 |
version 1.2, 2010/01/18 13:47:53 |
|
|
# 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$ |
# REVISION: $AFresh1: files.t,v 1.1 2010/01/17 19:41:24 andrew Exp $ |
#=============================================================================== |
#=============================================================================== |
|
|
use strict; |
use strict; |
|
|
|
|
diag("Testing GET files $class $Text::Todo::REST::API::VERSION"); |
diag("Testing GET files $class $Text::Todo::REST::API::VERSION"); |
|
|
my $api = new_ok( $class, [ { basedir => 't', path_info => '/lists/todo' } ] ); |
my $api = new_ok( $class, [ { todo_dir => 't/lists', path_info => '/todo' } ] ); |
|
|
my @files; |
my @files; |
ok( @files = $api->get_files, 'Get Files' ); |
ok( @files = $api->get_files, 'Get Files' ); |