#1656: Update specs after upgrading rack-test to 0.7.0#1658
Conversation
Generated by 🚫 danger |
|
You have to re-generate appraisals, with |
| #### Features | ||
|
|
||
| * Your contribution here. | ||
| * [#1658](https://github.com/ruby-grape/grape/pull/1658): Update `rack-test` to `0.7.0` and fix failing specs - [@ashkan18](https://github.com/ashkan18). |
There was a problem hiding this comment.
I would remove "and fix failing specs" cause that's not very interesting or useful.
|
Looks like Rails 5 doesn't like this upgrade: Will look into it later today. |
|
I would imagine there's a newer Rails 5 that is ok with a later rack-test. |
|
Bump @ashkan18 |
|
Sorry for delay on this, I actually looked at different Rails V5 versions, Not sure what the best way to proceed on this one now. I'm happy to close this PR till Rails upgrade. |
|
I see. I think you should either open an issue in Rails or PR the upgrade in Rails and link it from here. |
|
Shouldn't Rails_3.gemfile have |
|
@laertispappas If you can make that work, great. I think because the behavior of the spec changes it's not that easy. |
|
This one might be closed, Grape already uses Rack-test 1.1.0 |
Rack test was ignoring empty arrays in its output which was fixed here. With these changes specs now show proper validation which doesn't match old ones anymore.
Updated
rack-testto0.7.0and updated specs to match error messages we now receive with more details about missing params.Fixes #1656