1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Define jruby_skip to skip test on JRuby

This commit is contained in:
Gaurish Sharma 2013-08-21 09:25:28 +05:30
parent a67b956d28
commit e998edd2c0

View file

@ -24,3 +24,8 @@ Thread.abort_on_exception = true
# 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