protected override Task Because() { var rnd = new Random().Next(0, Repo.Branches["master"].Commits.Count()); _pointer = Repo.Branches["master"].Commits.Skip(rnd).First().Sha; return(GitDb.CreateBranch(new Reference { Name = "test", Pointer = _pointer })); }
protected override Task Because() => GitDb.CreateBranch(new Reference { Name = "test", Pointer = "master" });