Sha256: 7005ba5fcf01583f737754e8a79d31693aa028508f6cf27de24fd47c29d89e48

Contents?: true

Size: 453 Bytes

Versions: 4

Compression:

Stored size: 453 Bytes

Contents

require_relative '../spec_helper'

describe name_from_filename do
    include_examples 'plugin'

    before( :all ) do
        issues = [Arachni::Issue.new( url: 'http://localhost' )]
        framework.modules.register_results( issues )
    end

    it 'should resolve vulnerable hostnames to IP addresses' do
        run
        [{ 'localhost' => '::1' }, { 'localhost' => '127.0.0.1' }].should include( results_for( name_from_filename ))
    end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.4.1.3 spec/plugins/resolver_spec.rb
arachni-0.4.1.2 spec/plugins/resolver_spec.rb
arachni-0.4.1.1 spec/plugins/resolver_spec.rb
arachni-0.4.1 spec/plugins/resolver_spec.rb