Skip to content
Browse files

Test fix Allow instances to disable record_timestamps

Removed here 0d0176c
  • Loading branch information...
1 parent 30c0a00 commit 485b99611b22bb77cbc476ecd65d19b59fa719a8 @arunagw arunagw committed Oct 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/mass_assignment_security_test.rb
2 activerecord/test/cases/mass_assignment_security_test.rb
@@ -231,7 +231,7 @@ def test_create_with_bang_with_without_protection_with_attr_protected_attributes
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, method

0 comments on commit 485b996

Please sign in to comment.
Something went wrong with that request. Please try again.