16 lines
517 B
Ruby
16 lines
517 B
Ruby
Capybara.server = :puma # Until your setup is working
|
|
# Capybara.server = :puma, { Silent: true } # To clean up your test output
|
|
#asset_hosts = {
|
|
# staging: 'http://13staging.owlephant.icu',
|
|
# development: 'http://localhost:3000',
|
|
# test: 'http://localhost:3000'
|
|
#}
|
|
|
|
#if ENV['RAILS_ENV'] == 'staging'
|
|
# #Capybara.run_server = false
|
|
# Capybara.app_host = asset_hosts[ENV['RAILS_ENV'].to_sym]
|
|
#end
|
|
#Capybara.asset_host = asset_hosts[ENV['RAILS_ENV'].to_sym]
|
|
|
|
Capybara.javascript_driver = :selenium_chrome_headless
|