Sha256: d19235d6df75829e1061fd10e251594a42881a88c03941fb45aaacba15100bf8

Contents?: true

Size: 276 Bytes

Versions: 13

Compression:

Stored size: 276 Bytes

Contents

require 'sinatra'
require_relative '../check_server'

get '/' do
    <<-HTML
        <a href="/some_directory/">Hit me</a>
    HTML
end

current_check.formats.each do |format|
    path = format.gsub( '[name]', 'some_directory' )
    get '/' + path do
        path
    end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.3.1 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.3 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.2.1 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.2 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.1 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0.6 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0.5 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0.4 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0.3 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0.2 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0.1 spec/support/servers/checks/passive/backup_directories.rb
arachni-1.0 spec/support/servers/checks/passive/backup_directories.rb