[Ubuntu] Add Fastlane (#2751)

This commit is contained in:
Mikhail Timofeev
2021-02-19 18:33:28 +03:00
committed by GitHub
parent d76f3274f8
commit c4d66c8dc7
8 changed files with 56 additions and 8 deletions

View File

@@ -344,3 +344,26 @@ Describe "Python" {
"$PythonCommand --version" | Should -ReturnZeroExitCode
}
}
Describe "Ruby" {
$testCases = @("ruby", "gem") | ForEach-Object { @{RubyCommand = $_} }
It "<RubyCommand>" -TestCases $testCases {
param (
[string] $RubyCommand
)
"$RubyCommand --version" | Should -ReturnZeroExitCode
}
$gemTestCases = (Get-ToolsetContent).rubygems | ForEach-Object {
@{gemName = $_.name}
}
if ($gemTestCases)
{
It "Gem <gemName> is installed" -TestCases $gemTestCases {
"gem list -i '^$gemName$'" | Should -MatchCommandOutput "true"
}
}
}