-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Remove skip statements from scaffold controller tests during smoke #1680
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
Conversation
5272210
to
87fd5b7
Compare
I like this. @JonRowe is this good to merge? |
I'm not positive this is doing what I want yet @samphippen, please bear with me :) |
This is for running example_app specs in rspec-rails repo: * rspec/rspec-rails#1710 * rspec/rspec-rails#1680
9d10c76
to
677de24
Compare
1213961
to
7dd96c2
Compare
9e14923
to
875923b
Compare
875923b
to
8ea835c
Compare
Now non-Rails 5 builds are properly failing. |
8ea835c
to
a6b4678
Compare
@JonRowe Is this good to merge? |
@yujinakayama no this isn't ready to go yet, if you look at the build failure's it's failing because of routing issues rather than keyword arguments, you can see it's correctly grabbing params as a hash:
|
No, Rails isn't correctly interpreting the keyword arguments. You see the
... just because the get :show, params: {id: gadget.to_param}, session: valid_session
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# This entire hash is interpreted as a param If we change the get :show, foo: {id: gadget.to_param}, bar: valid_session ... you'll see the following error message:
So that means, on Rails 4, the |
I'm not convinced this is ready but merge this into your branch and see if it goes green, if so the combined branch is good to go, (I don't feel that strongly about it) but otherwise it's not. We can't merge this as is as it'll break the build. |
Then I'll close this PR and merge #1710, which is already based on this branch and is green. |
Thanks for taking care of this @yujinakayama :) |
No description provided.