Permalink
Browse files

remove ruby 1.8 stuff skip hack from AR

  • Loading branch information...
1 parent a64ab95 commit fc57003feb1af98f9b4470c362e05755ce10b618 @vatrai vatrai committed Dec 23, 2011
Showing with 0 additions and 7 deletions.
  1. +0 −7 activerecord/lib/active_record/test_case.rb
@@ -13,13 +13,6 @@ def cleanup_identity_map
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

0 comments on commit fc57003

Please sign in to comment.