Skip to content
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

Fix warnings #1620

Merged
merged 2 commits into from
Mar 27, 2016
Merged

Fix warnings #1620

merged 2 commits into from
Mar 27, 2016

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Mar 25, 2016

CI output needs to be reviewed.

I'm also trying to figure out which tests cause

  • lib/action_dispatch/routing/route_set.rb:429: warning: instance variable @_routes not initialized
    and why.
  • If we can silence all the grape warnings gems/grape-0.15.0/lib/grape

Also:

  • Less hacky test routes setup
  • Remove annoying progress reporter broken by warnings output

@groyoh
Copy link
Member

groyoh commented Mar 25, 2016

Looks like the Rails routes are broken.

module TestHelper
Routes = ActionDispatch::Routing::RouteSet.new
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried it out locally, seems like removing this broke the routes.

@groyoh groyoh merged commit 17711a8 into rails-api:master Mar 27, 2016
@groyoh
Copy link
Member

groyoh commented Mar 27, 2016

The routes and grape warning are still quite annoying. Looking forward to get rid of them. Good job!

@bf4
Copy link
Member Author

bf4 commented Mar 27, 2016

I have a fix for routes
On Sun, Mar 27, 2016 at 3:50 AM Yohan Robert notifications@github.com
wrote:

The routes and grape warning are still quite annoying. Looking forward to
get rid of them. Good job!


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1620 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants