metasploitable3/chef/cookbooks/metasploitable/test/windows/ruby.rb
2017-07-06 08:55:40 +05:30

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