3 use Test::More qw/no_plan/;
7 BEGIN { use_ok 'Gitalist::Git::Head' }
10 # Create an instance, passing last_change as a DateTime
12 my $timespec = [1277578462, '+0100'];
13 my $dt = DateTime->from_epoch(
14 epoch => @$timespec[0],
15 time_zone => @$timespec[1],
17 my $head = Gitalist::Git::Head->new(
18 sha1 => 'bca1153c22e393a952b6715bf2212901e4e77215',
20 committer => 'Zachary Stevens <zts@cryptocracy.com>',
23 isa_ok($head, 'Gitalist::Git::Head');