2017-02-10 62 views
1

on Rails的使用ActionCable 5.0.1我以前的工作黃瓜現在測試,並提供:水豚黃瓜超時使用Rails 5.0.1

Rack應用啓動時超時(RuntimeError)

在參觀頁面

我的黃瓜ENV文件包含:

require 'cucumber/rails' 
require 'capybara/poltergeist' 
# Require to enable javascript in tests 
# See https://github.com/teampoltergeist/poltergeist 
Capybara.javascript_driver = :poltergeist 
# Required to test action cable. 
# See http://stackoverflow.com/questions/35897189/capybara-not-working-with-action-cable 
Capybara.server = :puma 

回答

1

您可能已將puma更新至3.7.0 - 它有一個嚴重的錯誤,將在3.7.1發佈時解決。現在恢復到3.6.9

gem 'puma', '!= 3.7.0'