aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/inflector_test.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb
index fca4072ad9..bbc5e6ca99 100644
--- a/activesupport/test/inflector_test.rb
+++ b/activesupport/test/inflector_test.rb
@@ -177,4 +177,16 @@ class InflectorTest < Test::Unit::TestCase
assert_equal InflectorTest, Inflector.constantize("InflectorTest")
assert_raises(NameError) { Inflector.constantize("UnknownClass") }
end
+
+ # def test_staying_singular
+ # for term in SingularToPlural.keys
+ # assert_equal term, Inflector.singularize(term)
+ # end
+ # end
+ #
+ # def test_staying_plural
+ # for term in SingularToPlural.values
+ # assert_equal term, Inflector.singularize(term)
+ # end
+ # end
end