-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1656: Update specs after upgrading rack-test to 0.7.0 #1658
Conversation
Generated by 🚫 danger |
You have to re-generate appraisals, with |
CHANGELOG.md
Outdated
@@ -3,6 +3,7 @@ | |||
#### 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-test
to0.7.0
and updated specs to match error messages we now receive with more details about missing params.Fixes #1656