aarti
aarti

Reputation: 2865

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.

Upvotes: 1

Views: 276

Answers (1)

jordelver
jordelver

Reputation: 8432

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.

Upvotes: 1

Related Questions