18 lines
274 B
Ruby
18 lines
274 B
Ruby
|
require 'capybara'
|
||
|
require 'capybara/dsl'
|
||
|
|
||
|
class ServerLoadScript
|
||
|
include Capybara::DSL
|
||
|
|
||
|
def initialize
|
||
|
|
||
|
Capybara.default_driver = :selenium
|
||
|
Capybara.app_host = 'https://staging20.carto.com'
|
||
|
Capybara.run_server = false
|
||
|
|
||
|
visit '/'
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|