mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-30 00:35:46 +02:00
13 lines
285 B
Ruby
13 lines
285 B
Ruby
control "ruby" do
|
|
title "Ruby"
|
|
desc "Check if ruby is installed. Installation script found at /scripts/installs/install_ruby.bat"
|
|
|
|
describe file('C:\\tools\\ruby23') do
|
|
it { should exist }
|
|
end
|
|
|
|
describe command('ruby -v') do
|
|
its(:exit_status) { should eq 0 }
|
|
end
|
|
end
|