rack-test: Undefined method `size` on 0.8.2

We upgraded from 0.7.0 to 0.8.2 and we’re seeing the undefined method size error on form submissions without an attachment field but no file attached. The same form works fine if a file is attached. We’re using shrine for uploads, not sure if that’s relevant.

Related to: #210

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 19 (12 by maintainers)

Most upvoted comments

@GeekOnCoffee See https://github.com/rack-test/rack-test/pull/215 Bottom line is updating Capybara to 2.17 fixed this for me.

We’re locking to 0.7.0 for now, but I’ll be happy to provide more information and/or help test a fix.