aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-02-04 17:24:00 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-02-04 17:24:00 +0900
commit250c0d08c4753c6f29956612ea33999f19ee26d6 (patch)
tree44c6466ad1e7a6d42ec3f0d8a8fdc48f04fc57a2 /activerecord/test/cases/attribute_methods_test.rb
parente22404a8b2f258ca657fc54f0f3700b75db0c05b (diff)
downloadrails-250c0d08c4753c6f29956612ea33999f19ee26d6.tar.gz
rails-250c0d08c4753c6f29956612ea33999f19ee26d6.tar.bz2
rails-250c0d08c4753c6f29956612ea33999f19ee26d6.zip
Typos in AR tests
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb
index ef84624a8d..1db52af59b 100644
--- a/activerecord/test/cases/attribute_methods_test.rb
+++ b/activerecord/test/cases/attribute_methods_test.rb
@@ -798,7 +798,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase
assert_nil computer.system
end
- def test_global_methods_are_overwritte_when_subclassing
+ def test_global_methods_are_overwritten_when_subclassing
klass = Class.new(ActiveRecord::Base) { self.abstract_class = true }
subklass = Class.new(klass) do