Files
PowerShell-PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertTo-SecureString.Tests.ps1
T
James Truher 9e225ccae2 changes tags for tests
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00

12 lines
361 B
PowerShell

Describe "ConvertTo-SecureString" -Tags "CI" {
Context "Checking return types of ConvertTo-SecureString" {
It "Should return System.Security.SecureString after converting plaintext variable"{
$PesterTestConvert = (ConvertTo-SecureString "plaintextpester" -AsPlainText -force)
($PesterTestConvert).GetType() | Should Be securestring
}
}
}