Sha256: 44a09de6c8f0ad4f1d52779849a46083fb3c28b89b5ee6f2c0221df0337e2383

Contents?: true

Size: 620 Bytes

Versions: 6

Compression:

Stored size: 620 Bytes

Contents

=begin
    Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

def web_server_manager
    ENV['WEB_SERVER_DISPATCHER'] ? WebServerClient.instance : WebServerManager
end

def web_server_url_for( *args )
    web_server_manager.url_for( *args )
end

def web_server_spawn( *args )
    web_server_manager.spawn( *args )
end

def web_server_killall
    web_server_manager.killall
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/support/helpers/web_server.rb
arachni-1.3.1 spec/support/helpers/web_server.rb
arachni-1.3 spec/support/helpers/web_server.rb
arachni-1.2.1 spec/support/helpers/web_server.rb
arachni-1.2 spec/support/helpers/web_server.rb
arachni-1.1 spec/support/helpers/web_server.rb