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

Remove ActiveSupport::TestCase#pending, use skip instead #4575

Merged
merged 1 commit into from Jan 21, 2012

Conversation

carlosantoniodasilva
Copy link
Member

The pending method nowadays works basically delegating to skip, so I believe there is no real need to have it. We should just start using skip directly.

josevalim added a commit that referenced this pull request Jan 21, 2012
Remove ActiveSupport::TestCase#pending, use `skip` instead
@josevalim josevalim merged commit 1620df7 into rails:master Jan 21, 2012
@jeremy
Copy link
Member

jeremy commented May 17, 2012

This needs to be deprecated on 3-2-stable. Otherwise, tests just break when upgrading an app and you have to Google to find out why and how to fix.

@carlosantoniodasilva
Copy link
Member Author

@jeremy ok.

@rafaelfranca are you already working on this, confirm?

@rafaelfranca
Copy link
Member

Confirm. I need to discuss it better, but it is almost done.

@carlosantoniodasilva
Copy link
Member Author

Ok, if you need anything, just ping me later. Thanks!

At.
Carlos Antonio

On Friday, May 18, 2012 at 7:14 PM, Rafael Mendonça França wrote:

Confirm. I need to discuss it better, but it is almost done.


Reply to this email directly or view it on GitHub:
#4575 (comment)

@carlosantoniodasilva
Copy link
Member Author

I was reviewing my old list of issues and found this one, and I did the changes in this branch, let me know what you think.

@jeremy
Copy link
Member

jeremy commented Nov 17, 2012

👍

@rafaelfranca
Copy link
Member

:shipit:

carlosantoniodasilva added a commit that referenced this pull request Nov 18, 2012
…t-pending"

This reverts commit 1620df7, reversing
changes made to 2d00032.

Conflicts:
	activesupport/CHANGELOG.md
	activesupport/lib/active_support/test_case.rb
carlosantoniodasilva added a commit that referenced this pull request Nov 18, 2012
Properly deprecate #pending from AS::TestCase. This has been previously
removed from master, and is now back with a deprecation instead, to avoid
people having tests breaking when upgrading an app.

Please check #4575 for more background.
@carlosantoniodasilva
Copy link
Member Author

Done, thanks!

sgerrand pushed a commit to sgerrand/rails that referenced this pull request Nov 2, 2013
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

4 participants