projects
/
catagits/Gitalist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3e87923
)
Fix test by using accessor, not breaking abstraction
Tomas Doran [Wed, 11 Nov 2009 01:20:42 +0000 (
01:20
+0000)]
t/02git_repo.t
patch
|
blob
|
blame
|
history
diff --git
a/t/02git_repo.t
b/t/02git_repo.t
index
4f5758b
..
be1abbf
100644
(file)
--- a/
t/02git_repo.t
+++ b/
t/02git_repo.t
@@
-14,7
+14,7
@@
isa_ok($repo, 'Gitalist::Git::Repo');
is($repo->repo_dir, $repo_dir, "repo->repo_dir is correct" );
-my $project_list = $repo->{projects};
+my $project_list = $repo->projects;
isa_ok(@$project_list[0], 'Gitalist::Git::Project');
dies_ok {