Skip to content

Instantly share code, notes, and snippets.

@bielawb
Last active December 28, 2020 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bielawb/487e6c80e39b76b262614a8adc1d4499 to your computer and use it in GitHub Desktop.
Save bielawb/487e6c80e39b76b262614a8adc1d4499 to your computer and use it in GitHub Desktop.
Testujemy przekazywanie parametrów.
It 'Uruchamia Invoke-RestMethod z odpowiednimi parametrami' {
$null = Get-PowerShellPLPost -Page 10
Should -Invoke Invoke-RestMethod -ParameterFilter {
$Uri -eq 'https://powershellpl.net/feed/?paged=10'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment