//public IConfigSource UserFileSource { get; private set; } public static GitScenario Setup(string testName) { var scenario = new GitScenario(testName); File.WriteAllText(scenario.SystemFile, SystemDefaultContent); File.WriteAllText(scenario.UserFile, UserDefaultContent); File.WriteAllText(scenario.RepoFile, RepoDefaultContent); return(scenario); }
public static GitScenario Setup(string testName) { var scenario = new GitScenario(testName); File.WriteAllText(scenario.SystemFile, SystemDefaultContent); File.WriteAllText(scenario.UserFile, UserDefaultContent); File.WriteAllText(scenario.RepoFile, RepoDefaultContent); return scenario; }