1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Federico Ravasio d8537ef1ec Assert presence of "frozen" in error message, not the full MRI message.
Related to all the other issues regarding message independent assertions
to make Rails compatible with other Ruby implementations other than MRI.

The best way here would be to have a specific error raised when modifying
frozen objects, like FrozenObjectError or something. But since Ruby
doesn't provide such a thing, we must limit the assertion to the lowest
common denominator, which is word "frozen".
2013-10-08 00:15:07 +02:00
..
active_record/connection_adapters
assets
cases Assert presence of "frozen" in error message, not the full MRI message. 2013-10-08 00:15:07 +02:00
fixtures Fix broken link to Fixtures documentation on guides 2013-08-29 15:44:12 -05:00
migrations Preserve magic comments and content encoding of copied migrations. 2013-03-09 15:38:02 +09:00
models Port test from cf1904f to avoid future regression 2013-10-03 14:11:12 -04:00
schema Use the proper encoding comment on the file 2013-08-06 10:37:50 -03:00
support
.gitignore
config.example.yml
config.rb