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 keyword arguments in dynamic methods in controller specs #2514

Merged
merged 3 commits into from Aug 14, 2021

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Aug 13, 2021

Supersedes #2509 by demonstrating the issue in isolation from the rest of RSpec, many thanks to the original reporter @JoshCheek

@JonRowe JonRowe force-pushed the fix-ruby2-keywords-in-controller-spec-method-missing branch from 0a7f993 to 0f52603 Compare August 13, 2021 20:44
Copy link
Member

@benoittgt benoittgt left a comment

Choose a reason for hiding this comment

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

LGTM.

JonRowe added a commit that referenced this pull request Aug 13, 2021
Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

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

The test looks cleaner and more isolated.

Subjectively, I would understand the method_missing if it was defined with a proper way of delegating. Thus, not putting a shade of doubt on its participation in the failure.

JonRowe added a commit that referenced this pull request Aug 13, 2021
@JonRowe JonRowe force-pushed the fix-ruby2-keywords-in-controller-spec-method-missing branch from 583b743 to 756af6e Compare August 13, 2021 21:37
@JonRowe JonRowe force-pushed the fix-ruby2-keywords-in-controller-spec-method-missing branch from 756af6e to 6957188 Compare August 13, 2021 22:02
@JonRowe JonRowe merged commit dc0e2b5 into main Aug 14, 2021
@JonRowe JonRowe deleted the fix-ruby2-keywords-in-controller-spec-method-missing branch August 14, 2021 07:17
JonRowe added a commit that referenced this pull request Aug 14, 2021
…spec-method-missing

Fix keyword arguments in dynamic methods in controller specs
@pirj
Copy link
Member

pirj commented Aug 14, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants