Use thin as default server

pull/4945/head
Oliver Günther 8 years ago
parent 76ac1b319a
commit ebbfd60b30
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 6
      spec/support/capybara.rb

@ -10,6 +10,12 @@ Rails.application.config do
config.middleware.use RackSessionAccess::Middleware
end
Capybara.register_server :thin do |app, port, host|
require 'rack/handler/thin'
Rack::Handler::Thin.run(app, :Port => port, :Host => host)
end
Capybara.server = :thin
Capybara.register_driver :selenium do |app|
require 'selenium/webdriver'

Loading…
Cancel
Save