Sha256: c553808a48bf2945cba7f86d3961e2f405ca10b77d8a54ff0d8dfe172ae01545
Contents?: true
Size: 602 Bytes
Versions: 5
Compression:
Stored size: 602 Bytes
Contents
require 'spec_helper' describe name_from_filename do include_examples 'check' def self.elements [ Element::Server ] end def issue_count 1 end it 'logs hosts missing the header' do options.url = "#{url}/vulnerable" run expect(issues).to be_any end it 'does not log hosts with the header' do options.url = "#{url}/safe" run expect(issues).to be_empty end it 'does not log hosts non-200 pages' do options.url = "#{url}/non-200" run expect(issues).to be_empty end end
Version data entries
5 entries across 5 versions & 1 rubygems