This project is archived and is in readonly mode.

#6490 ✓committed
Lenary

Remove warnings about redefined methods from Activesupport tests

Reported by Lenary | February 28th, 2011 @ 10:21 PM

when running the activesupport tests, you get the following errors:

test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_fish
test/inflector_test.rb:54: warning: previous definition of test_pluralize_fish was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_jeans
test/inflector_test.rb:54: warning: previous definition of test_pluralize_jeans was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_funky jeans
test/inflector_test.rb:54: warning: previous definition of test_pluralize_funky jeans was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_old_news
test/inflector_test.rb:54: warning: previous definition of test_pluralize_old_news was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_news
test/inflector_test.rb:54: warning: previous definition of test_pluralize_news was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_series
test/inflector_test.rb:54: warning: previous definition of test_pluralize_series was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_species
test/inflector_test.rb:54: warning: previous definition of test_pluralize_species was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_information
test/inflector_test.rb:54: warning: previous definition of test_pluralize_information was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_equipment
test/inflector_test.rb:54: warning: previous definition of test_pluralize_equipment was here
test/inflector_test.rb:68: warning: method redefined; discarding old test_pluralize_rice
test/inflector_test.rb:54: warning: previous definition of test_pluralize_rice was here

This patch stops you getting them. Yay!

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages