diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-10-27 15:41:15 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-10-27 15:41:15 +0530 |
commit | 485b99611b22bb77cbc476ecd65d19b59fa719a8 (patch) | |
tree | c4500dc466bd513d02ba607f41763e27412e5ca3 /activerecord/test/cases | |
parent | 30c0a0023b34d1991cd52532cdcf1a28059bd670 (diff) | |
download | rails-485b99611b22bb77cbc476ecd65d19b59fa719a8.tar.gz rails-485b99611b22bb77cbc476ecd65d19b59fa719a8.tar.bz2 rails-485b99611b22bb77cbc476ecd65d19b59fa719a8.zip |
Test fix Allow instances to disable record_timestamps
Removed here 0d0176c4ffe5c58fd1002efbd8f7bd45a8872e33
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/mass_assignment_security_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/mass_assignment_security_test.rb b/activerecord/test/cases/mass_assignment_security_test.rb index ef35f3341e..a47842f5e0 100644 --- a/activerecord/test/cases/mass_assignment_security_test.rb +++ b/activerecord/test/cases/mass_assignment_security_test.rb @@ -231,7 +231,7 @@ class MassAssignmentSecurityTest < ActiveRecord::TestCase def test_protection_against_class_attribute_writers [:logger, :configurations, :primary_key_prefix_type, :table_name_prefix, :table_name_suffix, :pluralize_table_names, - :default_timezone, :schema_format, :lock_optimistically, :record_timestamps].each do |method| + :default_timezone, :schema_format, :lock_optimistically].each do |method| assert_respond_to Task, method assert_respond_to Task, "#{method}=" assert_respond_to Task.new, method |