aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2011-12-23 23:51:01 +0530
committerVishnu Atrai <me@vishnuatrai.com>2011-12-23 23:51:01 +0530
commitfc57003feb1af98f9b4470c362e05755ce10b618 (patch)
treedd8a963385e56f2a08ba295e47589ea5c774db42
parenta64ab959874681817c105f4cc6ce8b90b8bde545 (diff)
downloadrails-fc57003feb1af98f9b4470c362e05755ce10b618.tar.gz
rails-fc57003feb1af98f9b4470c362e05755ce10b618.tar.bz2
rails-fc57003feb1af98f9b4470c362e05755ce10b618.zip
remove ruby 1.8 stuff skip hack from AR
-rw-r--r--activerecord/lib/active_record/test_case.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/test_case.rb b/activerecord/lib/active_record/test_case.rb
index 21aff475a8..5398a14fc6 100644
--- a/activerecord/lib/active_record/test_case.rb
+++ b/activerecord/lib/active_record/test_case.rb
@@ -13,13 +13,6 @@ module ActiveRecord
ActiveRecord::IdentityMap.clear
end
- # Backport skip to Ruby 1.8. test/unit doesn't support it, so just
- # make it a noop.
- unless instance_methods.map(&:to_s).include?("skip")
- def skip(message)
- end
- end
-
def assert_date_from_db(expected, actual, message = nil)
# SybaseAdapter doesn't have a separate column type just for dates,
# so the time is in the string and incorrectly formatted