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

Explicitly support keyword arguments in shared context on 2.7.0 #2716

Merged
merged 2 commits into from
Apr 5, 2020

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Apr 4, 2020

This is an alternative #2711 that uses the method signature from rspec-support to conditionally apply keyword arguments on supporting rubies, it is 1.8.7 compatible.

This is a shorter change, but not a better one, it should be replaced by #2711 when we work on RSpec 4.

@JonRowe JonRowe force-pushed the explictly-support-kwargs-shared-context branch 2 times, most recently from facb7e7 to c38a933 Compare April 5, 2020 10:41
@JonRowe JonRowe force-pushed the explictly-support-kwargs-shared-context branch from c38a933 to a0da03c Compare April 5, 2020 10:57
@JonRowe JonRowe requested review from pirj and benoittgt April 5, 2020 10:58
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.

Looks good, no warnings 👍

@JonRowe JonRowe merged commit db99bec into master Apr 5, 2020
@JonRowe JonRowe deleted the explictly-support-kwargs-shared-context branch April 5, 2020 19:53
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
…red-context

Explicitly support keyword arguments in shared context on 2.7.0
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.

2 participants