From 3d4754f131ee2e64ae4e4297c069293f1448e1de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 6 Jan 2012 16:07:22 -0300 Subject: Use ActiveModel::TestCase instead of Test::Unit:TestCase --- activemodel/test/cases/naming_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel') 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) -- cgit v1.2.3