my cucumber features with selenium runs (for Rails 3 app) using the default Webrick server.
How can I force or setup to run with Thin server instead of Webrick? Any settings to put in env.rb file or else?
This is the new way to do this with recent capybara
require "rack/handler/unicorn"
Capybara.register_server(:unicorn) do |app, port, host|
Rack::Handler::Unicorn.run(app, :Port => port)
end
Capybara.server = :unicorn
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With