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:
parent
a67b956d28
commit
e998edd2c0
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue