aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/person.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/models/person.rb')
-rw-r--r--activemodel/test/models/person.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/activemodel/test/models/person.rb b/activemodel/test/models/person.rb
index eb84f7a27d..e896e90f98 100644
--- a/activemodel/test/models/person.rb
+++ b/activemodel/test/models/person.rb
@@ -9,10 +9,9 @@ class Person
end
end
-class Child < Person
+class Person::Gender
+ extend ActiveModel::Translation
end
-module PersonModule
- class Person < ::Person
- end
+class Child < Person
end