aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-03-18 11:40:00 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-03-18 11:40:00 -0700
commitbfdd3c2182156fa2cb81ed4f048b065a2d6f1341 (patch)
treeac72ca68fbbc698158b473c2f6860847a84b9aa5 /activerecord/test/cases/attribute_methods_test.rb
parent3b68f212410b742e941e89034483571a50518200 (diff)
parent55686dd1be37d6eb57dc086e4bc72922f49b2e17 (diff)
downloadrails-bfdd3c2182156fa2cb81ed4f048b065a2d6f1341.tar.gz
rails-bfdd3c2182156fa2cb81ed4f048b065a2d6f1341.tar.bz2
rails-bfdd3c2182156fa2cb81ed4f048b065a2d6f1341.zip
Merge pull request #9778 from vipulnsward/fix_typos_in_ar_v1
fix typos in AR. lots of them.
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb
index c503c21e27..648596b828 100644
--- a/activerecord/test/cases/attribute_methods_test.rb
+++ b/activerecord/test/cases/attribute_methods_test.rb
@@ -159,8 +159,8 @@ class AttributeMethodsTest < ActiveRecord::TestCase
end
def test_read_attributes_before_type_cast
- category = Category.new({:name=>"Test categoty", :type => nil})
- category_attrs = {"name"=>"Test categoty", "id" => nil, "type" => nil, "categorizations_count" => nil}
+ category = Category.new({:name=>"Test category", :type => nil})
+ category_attrs = {"name"=>"Test category", "id" => nil, "type" => nil, "categorizations_count" => nil}
assert_equal category_attrs , category.attributes_before_type_cast
end