Sha256: e81dd807bb1709626d47ff8398f7034f6d0854e9c50c56ec1323ecd9365e1c4e

Contents?: true

Size: 315 Bytes

Versions: 32

Compression:

Stored size: 315 Bytes

Contents

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

32 entries across 32 versions & 1 rubygems

Version Path
cuboid-0.2.11 spec/support/helpers/web_server.rb
cuboid-0.2.10 spec/support/helpers/web_server.rb
cuboid-0.2.9 spec/support/helpers/web_server.rb
cuboid-0.2.8 spec/support/helpers/web_server.rb
cuboid-0.2.7 spec/support/helpers/web_server.rb
cuboid-0.2.6 spec/support/helpers/web_server.rb
cuboid-0.2.5 spec/support/helpers/web_server.rb
cuboid-0.2.4.2 spec/support/helpers/web_server.rb
cuboid-0.2.4.1 spec/support/helpers/web_server.rb
cuboid-0.2.4 spec/support/helpers/web_server.rb
cuboid-0.2.3 spec/support/helpers/web_server.rb
cuboid-0.2.2 spec/support/helpers/web_server.rb
cuboid-0.2.1 spec/support/helpers/web_server.rb
cuboid-0.2 spec/support/helpers/web_server.rb
cuboid-0.1.9.1 spec/support/helpers/web_server.rb
cuboid-0.1.9 spec/support/helpers/web_server.rb
cuboid-0.1.8 spec/support/helpers/web_server.rb
cuboid-0.1.7 spec/support/helpers/web_server.rb
cuboid-0.1.6.1 spec/support/helpers/web_server.rb
cuboid-0.1.6 spec/support/helpers/web_server.rb