where do I have to setup or configure to fire cucumber/selenium test to run Thin server instead of the default Webrick server?
Asked
Active
Viewed 2,557 times
1 Answers
22
To explicitly setup Thin, create a file within the features/support directory with the following:
Capybara.server do |app, port|
require 'rack/handler/thin'
Rack::Handler::Thin.run(app, :Port => port)
end

Benjamin Bouchet
- 12,971
- 2
- 41
- 73

Dan Garland
- 3,350
- 1
- 24
- 24
-
2fyi, for about a year thin has not been the default https://github.com/jnicklas/capybara/commit/5b164d4f1c256f24b6c42475ea15466fcd3f012b – Michael Glass Dec 19 '13 at 03:06