public void should_if_web_project_is_missing() { var vs = new VisualStudioConfiguration { Github = new Github { Branch = "xx", Url = "xx" }, Iis = new Iis { SiteName = "x", DeployDirectory = "c:\\sites" }, Solution = new Solution { Name = "n"} }; Assert.That(vs.IsConfigured(), Is.False); }
public void should_be_configured_if_all_data_in_place() { var vs = new VisualStudioConfiguration { Github = new Github { Branch = "xx", Url = "xx" }, Iis = new Iis { SiteName = "x", DeployDirectory = "c:\\sites" }, Solution = new Solution { Name = "s", WebProject = "w" }}; Assert.That(vs.IsConfigured(), Is.True); }