diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2012-05-22 14:13:39 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2012-05-22 14:23:27 -0700 |
commit | d3715f65734a10eac228359b9073bbc5aa3ecdbb (patch) | |
tree | 202e4e9b367c14334b7e6d24c70cc4f9c6f6952b /activeresource/test | |
parent | 9ee85281bca899fc521200a087149d7c8c3940d9 (diff) | |
download | rails-d3715f65734a10eac228359b9073bbc5aa3ecdbb.tar.gz rails-d3715f65734a10eac228359b9073bbc5aa3ecdbb.tar.bz2 rails-d3715f65734a10eac228359b9073bbc5aa3ecdbb.zip |
Fixes the build break caused by 9ee8528 in #6445.
Ruby 1.8 raises a TypeError when trying to modify a frozen Hash, while
Ruby 1.9 raises a RuntimeError instead. Also, Ruby < 1.9.3 uses a
lowercase 'hash' in the exception message while Ruby >= 1.9.3 uses an
uppercase 'Hash' instead. This commit normalizes those issues in the
test case.
Diffstat (limited to 'activeresource/test')
0 files changed, 0 insertions, 0 deletions