diff options
Diffstat (limited to 'activesupport/test/core_ext/module/model_naming_test.rb')
-rw-r--r-- | activesupport/test/core_ext/module/model_naming_test.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/activesupport/test/core_ext/module/model_naming_test.rb b/activesupport/test/core_ext/module/model_naming_test.rb deleted file mode 100644 index da3b6c4932..0000000000 --- a/activesupport/test/core_ext/module/model_naming_test.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'abstract_unit' -require 'active_support/core_ext/module/model_naming' - -class ModelNamingTest < Test::Unit::TestCase - def setup - @model_name = ActiveSupport::ModelName.new('Post::TrackBack') - end - - def test_singular - assert_equal 'post_track_back', @model_name.singular - end - - def test_plural - assert_equal 'post_track_backs', @model_name.plural - end - - def test_partial_path - assert_equal 'post/track_backs/track_back', @model_name.partial_path - end -end |