From fc57003feb1af98f9b4470c362e05755ce10b618 Mon Sep 17 00:00:00 2001 From: Vishnu Atrai Date: Fri, 23 Dec 2011 23:51:01 +0530 Subject: remove ruby 1.8 stuff skip hack from AR --- activerecord/lib/active_record/test_case.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'activerecord/lib/active_record') 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 -- cgit v1.2.3