简体   繁体   中英

cucumber tests Fail with ActionDispatch::Cookies::CookieOverflow after rails4 upgrade

The error looks like below.

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'

I searched around and decided to use the suggestions made in the following two posts, to switch to db session store.

Cookie overflow in rails application? rails 4.0, rake db:sessions:create

However, I still see this error in the cucumber tests.

Do you need to migrate/recreate your test database?

You should check your test and cucumber environments to see if they are not configured differently.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM