diff --git a/src/Public/Core.ps1 b/src/Public/Core.ps1 index 1c9fb95d9..44399dc96 100644 --- a/src/Public/Core.ps1 +++ b/src/Public/Core.ps1 @@ -79,7 +79,7 @@ .PARAMETER IgnoreServerConfig Prevents the server from loading settings from the server.psd1 configuration file. - .PARAMETER ConfigFile +.PARAMETER ConfigFile Specifies a custom configuration file instead of using the default `server.psd1`. .PARAMETER Daemon diff --git a/tests/unit/Helpers.Tests.ps1 b/tests/unit/Helpers.Tests.ps1 index 296d9a935..5d01368a7 100644 --- a/tests/unit/Helpers.Tests.ps1 +++ b/tests/unit/Helpers.Tests.ps1 @@ -1062,7 +1062,7 @@ Describe 'Get-PodeRelativePath' { } It 'Returns path for a relative path joined to default root normalized' { - Get-PodeRelativePath -Path './path' -JoinRoot -NormalisePath | Should -Be 'c:/path' + Get-PodeRelativePath -Path './path' -JoinRoot -NormalisePath | Should -Be (Join-Path -Path 'c:' -ChildPath 'path') } It 'Returns resolved path for a relative path joined to default root when resolving' { @@ -1080,7 +1080,7 @@ Describe 'Get-PodeRelativePath' { } It 'Returns path for a relative path joined to passed root normalized' { - Get-PodeRelativePath -Path './path' -JoinRoot -RootPath 'e:/' -NormalisePath | Should -Be 'e:/path' + Get-PodeRelativePath -Path './path' -JoinRoot -RootPath 'e:/' -NormalisePath | Should -Be (Join-Path -Path 'e:' -ChildPath 'path') } It 'Throws error for path ot existing' {