This project is archived and is in readonly mode.

#4184 ✓committed
Santiago Pastorino

[PATCH] object_and_class_ext_test two warnings removed

Reported by Santiago Pastorino | March 15th, 2010 @ 11:00 PM | in 2.3.6

The patch removes this warnings, even the warnings are different and perhaps we should apply two patch i've made one, because i think it doesn't worth that work for that minor thing. But if you want to be more atomic i can do two patches.

./test/core_ext/object_and_class_ext_test.rb:187: warning: ambiguous first argument; put parentheses or even spaces

DEPRECATION WARNING: metaclass is deprecated and will be removed from Rails 2.3 (use singleton_class instead). (called from test_metaclass at ./test/core_ext/object_and_class_ext_test.rb:174)
./test/core_ext/object_and_class_ext_test.rb:174:in test_metaclass' ./test/../lib/active_support/testing/setup_and_teardown.rb:62:insend' ./test/../lib/active_support/testing/setup_and_teardown.rb:62:in run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:inrun' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:inrun' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:ineach' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:inrun_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:instart' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:inrun' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in run' /usr/lib/ruby/1.8/test/unit.rb:279 /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5

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

Pages