Sha256: df035af1d127453923eecc8cd8967e39bc6d3aa6f9fc8797fe4784dc9673171e
Contents?: true
Size: 414 Bytes
Versions: 16
Compression:
Stored size: 414 Bytes
Contents
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
16 entries across 16 versions & 1 rubygems