Sha256: af9caa8332df0e490233d5feca1df52deba2f18417e94bd62543849810349b28
Contents?: true
Size: 441 Bytes
Versions: 10
Compression:
Stored size: 441 Bytes
Contents
require 'minitest/autorun' require File.dirname(__FILE__) + '/../lib/yawast' require File.dirname(__FILE__) + '/base' class TestScannerNginxHeaders < Minitest::Test include TestBase def test_nginx_basic_banner server = 'nginx/1.8.1' override_stdout Yawast::Scanner::Nginx.check_banner server assert stdout_value.include?("nginx Version: #{server}"), "Unexpected banner: #{stdout_value}" restore_stdout end end
Version data entries
10 entries across 10 versions & 1 rubygems