Sha256: 837e57e52449694d73a60701338f7ad7579bd96a3a58f2241a6f440c92a5295e
Contents?: true
Size: 594 Bytes
Versions: 17
Compression:
Stored size: 594 Bytes
Contents
test_name 'Group Test' do step "#group_get: has an Administrators group on Windows" do hosts.select { |h| h['platform'].include?('windows') }.each do |host| host.group_get('Administrators') do |result| refute_match(result.stdout, '1376', 'Output indicates Administrators not found') end end end step "#group_get: should not have CroMags group on Windows" do hosts.select { |h| h['platform'].include?('windows') }.each do |host| assert_raises Beaker::Host::CommandFailure do host.group_get('CroMags') { |result| } end end end end
Version data entries
17 entries across 17 versions & 1 rubygems