// // GET: /Database/ public ActionResult GetEnvironments() { var list = EnvironmentServices.GetEnvironments(); return(this.Direct(new { success = true, data = list })); }
public void ReturnAListOfGenFormEnvironmentsWithAtLeastATestGenForm() { var list = EnvironmentServices.GetEnvironments(); Assert.IsTrue(list.Any(e => e.Name == "TestGenForm")); }