rails/rails — pull request #7454 by aderyabin (2012-08-27 09:17:48+00:00)
Title: refactored mass assignment security tests

One code uses for two different tests. Duplicated code used for different test-cases. As example
https://github.com/rails/rails/blob/master/activerecord/test/cases/mass_assignment_security_test.rb#L393 and https://github.com/rails/rails/blob/master/activerecord/test/cases/mass_assignment_security_test.rb#L403.

That is bug because in this tests should be used instances of different models.