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

Add a deprecation warning to 2.99 for accessing let/subject from after(:all) #1081

Merged
merged 2 commits into from Sep 23, 2013

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Sep 21, 2013

Follow up to #1078

@JonRowe
Copy link
Member

JonRowe commented Sep 22, 2013

Want to review this @myronmarston ?


This is deprecated behavior that will not be supported in RSpec 3.
Copy link
Member

Choose a reason for hiding this comment

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

Why did you move this line down below the main blurb?

Copy link
Member Author

Choose a reason for hiding this comment

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

It makes more sense to me to have the statement after the explanation, if it's an issue I can move it back.

Copy link
Member

Choose a reason for hiding this comment

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

It's fine, was just curious.

@myronmarston
Copy link
Member Author

Looks good...left a few comments.

[skip ci]
@myronmarston
Copy link
Member Author

Merge when green.

@JonRowe
Copy link
Member

JonRowe commented Sep 23, 2013

I skipped the CI on the changlog change so it's green already.

JonRowe added a commit that referenced this pull request Sep 23, 2013
…efore_all

Add a deprecation warning to 2.99 for accessing let/subject from `after(:all)`
@JonRowe JonRowe merged commit a807624 into 2-99-maintenance Sep 23, 2013
@JonRowe JonRowe deleted the deprecation_warning_let_subject_before_all branch September 23, 2013 00:47
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…n_warning_let_subject_before_all

Add a deprecation warning to 2.99 for accessing let/subject from `after(:all)`

---
This commit was imported from rspec/rspec-core@a807624.
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

2 participants