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
46 describe package(p) do
47 it { should be_installed }
50 describe command('/usr/local/rvm/bin/rvm list') do
51 its(:exit_status) { should eq 0 }
52 its('stdout') { should match(/ruby-2.5.8/) }