aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-06 16:43:18 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-06 16:43:18 -0800
commitfec6f1ba82145fe8e9d6258069516d600cc7ce1f (patch)
treeab42f4827d7b60d5a24d9462613426d583339f4a /activemodel
parent1c09c29a0958eac86fffede00f30a1bee36d09a9 (diff)
parent185aa821d94308171d57e4e2cfffbcc312d01450 (diff)
downloadrails-fec6f1ba82145fe8e9d6258069516d600cc7ce1f.tar.gz
rails-fec6f1ba82145fe8e9d6258069516d600cc7ce1f.tar.bz2
rails-fec6f1ba82145fe8e9d6258069516d600cc7ce1f.zip
Merge pull request #4360 from rafaelfranca/patch-1
Remove more references to Test::Unit
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/naming_test.rb4
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)