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

@@ -27,12 +27,12 @@ Describe "Chrome" {
$versionInfo | Should -Not -BeNullOrEmpty
}
It "gupdate is stopped" {
It "gupdate service is stopped" {
$svc = Get-Service -Name gupdate
$svc.Status | Should -BeExactly Stopped
}
It "gupdatem is stopped" {
It "gupdatem service is stopped" {
$svc = Get-Service -Name gupdatem
$svc.Status | Should -BeExactly Stopped
}

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