internal/tests/VisualStudio2015.tests.ps1

1
2
3
4
5
6
7
8
9
Describe "[$($Lab.Name)] VisualStudio2015" -Tag VisualStudio2015 {
Context "Role deployment successful" {
        It "[VisualStudio2015] Should return the correct amount of machines" {
            (Get-LabVm -Role VisualStudio2015).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'VisualStudio2015'}).Count
        }
    }
}