cleanups.
[catagits/Gitalist.git] / t / git / project.t
index 21f7731..6a8da94 100644 (file)
@@ -15,12 +15,13 @@ my $proj = Gitalist::Git::Project->new(
     name => "repo1",
 );
 isa_ok($proj, 'Gitalist::Git::Project');
-
 is($proj->path, $gitdir, 'repository path is set');
 is($proj->name, qw/repo1/, 'repository name is set');
 is($proj->description, qq/some test repository/, 'repository description loaded');
 isa_ok($proj->last_change, 'DateTime', 'last_change');
 
+is($proj->info->{name}, qw/repo1/, 'repo name in info hash');
+
 is($proj->head_hash, qw/36c6c6708b8360d7023e8a1649c45bcf9b3bd818/, 'head_hash for HEAD is correct');
 
 is(scalar $proj->list_tree, 2, 'expected number of entries in tree');