Commit 030f57bd authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Run feature specs using Puma

Webrick doesn't support Rack hijack and we need it for ActionCable

Also, we now use Puma in production so it's also good to use it in
our feature specs
parent 408b25e6
...@@ -60,7 +60,6 @@ Capybara.register_driver :chrome do |app| ...@@ -60,7 +60,6 @@ Capybara.register_driver :chrome do |app|
) )
end end
Capybara.server = :webrick
Capybara.javascript_driver = :chrome Capybara.javascript_driver = :chrome
Capybara.default_max_wait_time = timeout Capybara.default_max_wait_time = timeout
Capybara.ignore_hidden_elements = true Capybara.ignore_hidden_elements = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment