diff options
author | Sakshi Jain <sakshijain1107@gmail.com> | 2018-09-22 17:15:29 +0530 |
---|---|---|
committer | Sakshi Jain <sakshijain1107@gmail.com> | 2018-09-23 21:27:44 +0530 |
commit | 0fe2bb816f60f4daf5d0d24468af94be971d0eaf (patch) | |
tree | f944173b17105aaf2ba7539e05c734f85d3a43b9 /actionmailer | |
parent | d3b952184d8bdb6154aff1f8bc3eda58046026f6 (diff) | |
download | rails-0fe2bb816f60f4daf5d0d24468af94be971d0eaf.tar.gz rails-0fe2bb816f60f4daf5d0d24468af94be971d0eaf.tar.bz2 rails-0fe2bb816f60f4daf5d0d24468af94be971d0eaf.zip |
Remove private def
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/test/abstract_unit.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb index 45f69d5375..f647896374 100644 --- a/actionmailer/test/abstract_unit.rb +++ b/actionmailer/test/abstract_unit.rb @@ -36,12 +36,14 @@ ActionMailer::Base.view_paths = FIXTURE_LOAD_PATH class ActiveSupport::TestCase include ActiveSupport::Testing::MethodCallAssertions - # Skips the current run on Rubinius using Minitest::Assertions#skip - private def rubinius_skip(message = "") - skip message if RUBY_ENGINE == "rbx" - end - # Skips the current run on JRuby using Minitest::Assertions#skip - private def jruby_skip(message = "") - skip message if defined?(JRUBY_VERSION) - end + private + # Skips the current run on Rubinius using Minitest::Assertions#skip + def rubinius_skip(message = "") + skip message if RUBY_ENGINE == "rbx" + end + + # Skips the current run on JRuby using Minitest::Assertions#skip + def jruby_skip(message = "") + skip message if defined?(JRUBY_VERSION) + end end |