Add test to verify that a simple workflow can run

This commit is contained in:
Dongbo Wang
2016-06-17 14:54:54 -07:00
parent da69dc921f
commit eae26dc0fa
@@ -28,6 +28,12 @@ Describe 'build.psm1 and powershell.exe' {
[Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase].Assembly.Location | Should Be (
Join-Path $env:DEVPATH Microsoft.PowerShell.Security.dll)
}
It 'loads Microsoft.PowerShell.Workflow.ServiceCore.dll' {
workflow wfTest {}; wfTest ## Trigger the loading of ServiceCore.dll
[Microsoft.PowerShell.Workflow.PSWorkflowJob].Assembly.Location | Should Be (
Join-Path $env:DEVPATH Microsoft.PowerShell.Workflow.ServiceCore.dll)
}
}
}