Sha256: 50acf886d0f706c3139c3c2871436bd4ec3624460877ed7aea7a864fcb3ba417

Contents?: true

Size: 620 Bytes

Versions: 7

Compression:

Stored size: 620 Bytes

Contents

=begin
    Copyright 2010-2014 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

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 spec/support/helpers/web_server.rb
arachni-1.0.5 spec/support/helpers/web_server.rb
arachni-1.0.4 spec/support/helpers/web_server.rb
arachni-1.0.3 spec/support/helpers/web_server.rb
arachni-1.0.2 spec/support/helpers/web_server.rb
arachni-1.0.1 spec/support/helpers/web_server.rb
arachni-1.0 spec/support/helpers/web_server.rb