diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-06 16:07:22 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-06 20:43:08 -0300 |
commit | 3d4754f131ee2e64ae4e4297c069293f1448e1de (patch) | |
tree | 360baf9f859f38a62983129be5c46c77228e5057 /activemodel/test | |
parent | ce84df020a9665348912b42661c906a332d55220 (diff) | |
download | rails-3d4754f131ee2e64ae4e4297c069293f1448e1de.tar.gz rails-3d4754f131ee2e64ae4e4297c069293f1448e1de.tar.bz2 rails-3d4754f131ee2e64ae4e4297c069293f1448e1de.zip |
Use ActiveModel::TestCase instead of Test::Unit:TestCase
Diffstat (limited to 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/naming_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/test/cases/naming_test.rb b/activemodel/test/cases/naming_test.rb index acda989eec..1e14d83bcb 100644 --- a/activemodel/test/cases/naming_test.rb +++ b/activemodel/test/cases/naming_test.rb @@ -210,7 +210,7 @@ class NamingUsingRelativeModelNameTest < ActiveModel::TestCase end end -class NamingHelpersTest < Test::Unit::TestCase +class NamingHelpersTest < ActiveModel::TestCase def setup @klass = Contact @record = @klass.new @@ -276,7 +276,7 @@ class NamingHelpersTest < Test::Unit::TestCase end end -class NameWithAnonymousClassTest < Test::Unit::TestCase +class NameWithAnonymousClassTest < ActiveModel::TestCase def test_anonymous_class_without_name_argument assert_raises(ArgumentError) do ActiveModel::Name.new(Class.new) |