diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-21 02:35:22 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-21 02:35:22 -0800 |
commit | 28e869d77ee8515c2fe21c6052d33ab41479a47e (patch) | |
tree | 11ff189ccf07795efc90d7b3f1a1e2ad1c0c5e87 /activerecord/lib | |
parent | 559196519a860e49886f586d0169aca23cbcdeb0 (diff) | |
parent | 7276fc63be79a5769acb28b54d248c87591c1825 (diff) | |
download | rails-28e869d77ee8515c2fe21c6052d33ab41479a47e.tar.gz rails-28e869d77ee8515c2fe21c6052d33ab41479a47e.tar.bz2 rails-28e869d77ee8515c2fe21c6052d33ab41479a47e.zip |
Merge pull request #4090 from arunagw/more_more_more_187_removal
Removed test which works only < 1.9
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/test_case.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/activerecord/lib/active_record/test_case.rb b/activerecord/lib/active_record/test_case.rb index ffe9b08dce..21aff475a8 100644 --- a/activerecord/lib/active_record/test_case.rb +++ b/activerecord/lib/active_record/test_case.rb @@ -56,18 +56,5 @@ module ActiveRecord ensure ActiveRecord::SQLCounter.ignored_sql = prev_ignored_sql end - - def with_kcode(kcode) - if RUBY_VERSION < '1.9' - orig_kcode, $KCODE = $KCODE, kcode - begin - yield - ensure - $KCODE = orig_kcode - end - else - yield - end - end end end |