fix git tests

This commit is contained in:
Aleksandr Chebotov
2020-07-13 12:22:20 +03:00
parent ea539f15cf
commit 51da94d189
2 changed files with 8 additions and 6 deletions

View File

@@ -15,10 +15,6 @@ Describe "Git" {
(Get-Command -Name $toolName).Source | Should -Match $source
}
It "hub is installed" {
"hub --version" | Should -ReturnZeroExitCode
}
It "Git core.symlinks=true option is enabled" {
git config core.symlinks | Should -BeExactly true
}
@@ -28,6 +24,12 @@ Describe "Git" {
}
}
Describe "Hub" {
It "hub is installed" {
"hub --version" | Should -ReturnZeroExitCode
}
}
Describe "GitVersion" {
It "gitversion is installed" {
"gitversion /version" | Should -ReturnZeroExitCode