From: Dan Brook Date: Mon, 23 Jan 2012 23:39:14 +0000 (+0000) Subject: Provide required method to test model. X-Git-Tag: 0.003007~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=2141c5643ba53996f4ea0d129a326ad7d5b24577 Provide required method to test model. Now its test no longer blows up as it is a valid COR again. --- diff --git a/t/lib/TestModelFancy.pm b/t/lib/TestModelFancy.pm index 940b60f..d5b7198 100644 --- a/t/lib/TestModelFancy.pm +++ b/t/lib/TestModelFancy.pm @@ -21,4 +21,6 @@ class TestModelFancy with Gitalist::Git::CollectionOfRepositories { method _get_repo_from_name($name) { Gitalist::Git::Repository->new($self->repo_dir->subdir($name)->resolve); } + + method debug_string { 'it is always repo1' } }