Files

28 lines
610 B
PowerShell
Raw Permalink Normal View History

Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
2023-12-04 12:13:08 +01:00
2021-09-24 13:56:16 +03:00
$os = Get-OSVersion
Describe "RubyGems" {
2023-12-04 12:13:08 +01:00
$gemTestCases = (Get-ToolsetContent).ruby.rubygems | ForEach-Object {
@{gemName = $_}
}
2023-12-04 12:13:08 +01:00
if ($gemTestCases) {
It "Gem <gemName> is installed" -TestCases $gemTestCases {
"gem list -i '^$gemName$'" | Should -MatchCommandOutput "true"
}
}
}
Describe "Bundler" {
It "Bundler" {
"bundler --version" | Should -ReturnZeroExitCode
}
}
Describe "Fastlane" {
It "Fastlane" {
"fastlane --version" | Should -ReturnZeroExitCode
}
}