Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails rails4升级后,cucumber测试因ActionDispatch::Cookies::CookieOverflow失败_Ruby On Rails_Ruby_Cookies_Cucumber - Fatal编程技术网

Ruby on rails rails4升级后,cucumber测试因ActionDispatch::Cookies::CookieOverflow失败

Ruby on rails rails4升级后,cucumber测试因ActionDispatch::Cookies::CookieOverflow失败,ruby-on-rails,ruby,cookies,cucumber,Ruby On Rails,Ruby,Cookies,Cucumber,错误如下所示 我已经进口了所有的书 #features/step_definitions/book_steps.rb:10 ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow) features/reports/reports.feature:11:in `And I have already imported all books' 我四处搜索,决定使用下面两篇文章中提出的建议,切换到

错误如下所示

我已经进口了所有的书

#features/step_definitions/book_steps.rb:10
ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow)
features/reports/reports.feature:11:in `And I have already imported all books'
我四处搜索,决定使用下面两篇文章中提出的建议,切换到db会话存储


但是,我仍然在cucumber测试中看到此错误。

是否需要迁移/重新创建测试数据库

您应该检查您的测试环境和cucumber环境,看看它们是否配置得不同