From 647a9abb02ceffc7002b94d46a290621280e8d67 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Mon, 11 Mar 2013 16:03:10 +0530 Subject: Cleanup tests for unused variables --- activesupport/test/inflector_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activesupport/test/inflector_test.rb') diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb index a1e5db6a2e..4806ce07f6 100644 --- a/activesupport/test/inflector_test.rb +++ b/activesupport/test/inflector_test.rb @@ -61,9 +61,7 @@ class InflectorTest < ActiveSupport::TestCase assert_equal(plural, ActiveSupport::Inflector.pluralize(plural)) assert_equal(plural.capitalize, ActiveSupport::Inflector.pluralize(plural.capitalize)) end - end - SingularToPlural.each do |singular, plural| define_method "test_singularize_singular_#{singular}" do assert_equal(singular, ActiveSupport::Inflector.singularize(singular)) assert_equal(singular.capitalize, ActiveSupport::Inflector.singularize(singular.capitalize)) -- cgit v1.2.3