Sha256: 39c7b3774329a1b92d6ba4a4823cc7ec42656962564cd71ff32e66abd481bbcc
Contents?: true
Size: 606 Bytes
Versions: 8
Compression:
Stored size: 606 Bytes
Contents
test_name 'User Test' do step "#user_get: has an Administrator user on Windows" do hosts.select { |h| h['platform'].include?('windows') }.each do |host| host.user_get('Administrator') do |result| refute_match(result.stdout, 'NET HELPMSG', 'Output indicates Administrator not found') end end end step "#user_get: should not have CaptainCaveman user on Windows" do hosts.select { |h| h['platform'].include?('windows') }.each do |host| assert_raises Beaker::Host::CommandFailure do host.user_get('CaptainCaveman') { |result| } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems