17750: fix style (linters suggestions) [ci skip]
[arvados-formula.git] / test / integration / api / controls / packages_spec.rb
index 9cb60abb11b65ab554b56d7adfcaeeabf7a806b8..edc206049bbc6e056a3c1859e8d8899ec5976934 100644 (file)
@@ -1,4 +1,5 @@
 # frozen_string_literal: true
+
 # Copyright (C) The Arvados Authors. All rights reserved.
 #
 # SPDX-License-Identifier: Apache-2.0
@@ -27,23 +28,27 @@ control 'RVM and dependencies' do
   end
 
   %w[
-    rubygem-bundler
+    centos-release-scl
     curl
     gcc
     git
     libcurl
     libcurl-devel
-    pam-devel
-    postgresql-devel
     libxml2
     libxml2-devel
     make
+    pam-devel
+    postgresql12-libs
     python3-devel
-    ruby-devel
+    rubygem-bundler
     zlib-devel
   ].each do |p|
     describe package(p) do
       it { should be_installed }
     end
   end
+  describe command('/usr/local/rvm/bin/rvm list') do
+    its(:exit_status) { should eq 0 }
+    its('stdout') { should match(/ruby-2.5.8/) }
+  end
 end