public void TestDashContextForOwnerAndRepo() { var vm = new DashboardMenuViewModel { SelectedOwnerId = "owner", SelectedRepoId = "repo" }; vm.GetDashContext().Should().Be("owner/repo"); }
public void TestDashContextPreservesCase() { var vm = new DashboardMenuViewModel { SelectedOwnerId = "OwnerA", SelectedRepoId = "RepoName" }; vm.GetDashContext().Should().Be("OwnerA/RepoName"); }
public void TestDashContextForOwnerOnly() { var vm = new DashboardMenuViewModel { SelectedOwnerId = "owner" }; vm.GetDashContext().Should().Be("owner"); }