aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-26 02:54:46 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-26 03:56:18 -0300
commit21be1808a0887a12cf8124ad01a54bc075361f03 (patch)
treeee1f91bd8162b5f2e0113abd57be9b811b157258 /activerecord/test/cases/attribute_methods_test.rb
parent258461ee333ab6bcec983362f46e271fca9f3614 (diff)
downloadrails-21be1808a0887a12cf8124ad01a54bc075361f03.tar.gz
rails-21be1808a0887a12cf8124ad01a54bc075361f03.tar.bz2
rails-21be1808a0887a12cf8124ad01a54bc075361f03.zip
Move the serialized attribute tests to their own file
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb
index c043e32a20..1ea6f8295a 100644
--- a/activerecord/test/cases/attribute_methods_test.rb
+++ b/activerecord/test/cases/attribute_methods_test.rb
@@ -729,17 +729,6 @@ class AttributeMethodsTest < ActiveRecord::TestCase
Object.send(:undef_method, :title) # remove test method from object
end
- def test_list_of_serialized_attributes
- assert_equal %w(content), Topic.serialized_attributes.keys
- assert_equal %w(preferences), Contact.serialized_attributes.keys
- end
-
- def test_serialized_attributes_are_class_level_settings
- topic = Topic.new
- assert_raise(NoMethodError) { topic.serialized_attributes = [] }
- assert_deprecated { topic.serialized_attributes }
- end
-
def test_instance_method_should_be_defined_on_the_base_class
subklass = Class.new(Topic)