Permalink
Browse files

Define jruby_skip to skip test on JRuby

  • Loading branch information...
gaurish committed Aug 21, 2013
1 parent a67b956 commit e998edd2c02667af53dd55cff1b37a6d4661c181
Showing with 5 additions and 0 deletions.
  1. +5 −0 activesupport/test/abstract_unit.rb
@@ -24,3 +24,8 @@
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true
+
+# Skips the current run on JRuby using Minitest::Assertions#skip
+def jruby_skip(message = '')
+ skip message if RUBY_ENGINE == 'jruby'
+end

0 comments on commit e998edd

Please sign in to comment.