Skip to content

Fix routing test and remove deprecated method #4342

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

Merged
merged 2 commits into from
Jan 6, 2012

Conversation

carlosantoniodasilva
Copy link
Member

Some fixes for ActionPack

  • Fix routing test to use assert_equal instead of assert, and to use assert_nil
  • Remove deprecated method from AC::TestCase to handle old process api

Thanks!

@josevalim
Copy link
Contributor

The old process API was just deprecated. It is a Rails 4 deprecation. :)

@carlosantoniodasilva
Copy link
Member Author

Ok, sorry about that :). Fixed to just remove deprecation warning from a test case related to this deprecation. Thanks!

josevalim added a commit that referenced this pull request Jan 6, 2012
Fix routing test and remove deprecated method
@josevalim josevalim merged commit 432a95d into rails:master Jan 6, 2012
cryptoque added a commit to cryptoque/rails that referenced this pull request Dec 2, 2021
…to form_with, this could potentially cause some regress, as the condition to send polymorphic_path(record, {}) instead of polymorphic_path(record, format: options.delete(:format)) is removed and when format is not passed, this causes issues if the caller is not expecting an extra arg format:nil. This PR adds back the condition inside for with and add a test to make sure it doesn't break for_with
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