1 # frozen_string_literal: true
3 # Copyright (C) The Arvados Authors. All rights reserved.
5 # SPDX-License-Identifier: Apache-2.0
7 control 'arvados api package' do
8 title 'should be installed'
10 describe package('arvados-api-server') do
11 it { should be_installed }
15 control 'arvados cli gem' do
16 title 'should be installed'
18 describe gem('arvados-cli') do
19 it { should be_installed }
23 control 'RVM and dependencies' do
24 title 'should be installed'
26 only_if("Forced requirement for RedHat's family") do
45 describe package(p) do
46 it { should be_installed }
49 describe command('/usr/local/rvm/bin/rvm list') do
50 its(:exit_status) { should eq 0 }
51 its('stdout') { should match(/ruby-2.7.2/) }