Skip to content

Commit

Permalink
fixing putting the skip on the describe instead on it
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelcolas committed Nov 27, 2019
1 parent 9e07c9b commit 0216b06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- skip tests using New-CimInstance when OS is not Windows (see issue #1)
- skip tests (it ...) using New-CimInstance when OS is not Windows (see issue #1)
4 changes: 2 additions & 2 deletions tests/Unit/Public/Test-DscParameterState.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ InModuleScope $ProjectName {
}
}

Context -Name 'When passing an CimInstance as DesiredValue and ValuesToCheck is $null' -skip:(!($isWindows -or $PSEdition -eq 'Desktop')) {
It 'Should throw the correct error' {
Context -Name 'When passing an CimInstance as DesiredValue and ValuesToCheck is $null' {
It 'Should throw the correct error' -skip:(!($isWindows -or $PSEdition -eq 'Desktop')) {
$mockCurrentValues = @{ Example = 'something' }

$mockWin32ProcessProperties = @{
Expand Down

0 comments on commit 0216b06

Please sign in to comment.