aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2019-08-02 03:30:21 +0900
committerAkira Matsuda <ronnie@dio.jp>2019-08-02 05:36:38 +0900
commit8d2866bb80fbe81acb04f5b0c44f152f571fb29f (patch)
tree7a2e4a4ab0653fc8f07a40bc025b737e99a1c6ad /actionpack
parent98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64 (diff)
downloadrails-8d2866bb80fbe81acb04f5b0c44f152f571fb29f.tar.gz
rails-8d2866bb80fbe81acb04f5b0c44f152f571fb29f.tar.bz2
rails-8d2866bb80fbe81acb04f5b0c44f152f571fb29f.zip
You give jruby_skip & rubinius_skip a good name
This hack prevails everywhere in the codebase by being copy & pasted, and it's actually not a negative thing but a necessary thing for framework implementors, so it should better have a name and be a thing. And with this commit, activesupport/test/abstract_unit.rb now doesn't silently autoload AS::TestCase, so we're ready to establish clearner environment for running AS tests (probably in later commits)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/abstract_unit.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index ded93dd33f..238ce32ce6 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -350,19 +350,6 @@ class CommentsController < ResourcesController; end
class AccountsController < ResourcesController; end
class ImagesController < ResourcesController; end
-class ActiveSupport::TestCase
- 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
-
class DrivenByRackTest < ActionDispatch::SystemTestCase
driven_by :rack_test
end