mirror of https://github.com/rails/rails
Leave all our tests as order_dependent! for now
We're seeing too many failures to believe otherwise. This reverts commitsbc116a55ca
,cbde413df3
,bf0a67931d
, and2440933fe2
.
This commit is contained in:
parent
cc7faddf17
commit
2f52f96988
|
@ -42,3 +42,8 @@ def jruby_skip(message = '')
|
|||
end
|
||||
|
||||
require 'mocha/setup' # FIXME: stop using mocha
|
||||
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
require 'active_support/test_case'
|
||||
ActiveSupport::TestCase.my_tests_are_order_dependent!
|
||||
|
|
|
@ -512,3 +512,8 @@ if ActiveSupport::Testing::Isolation.forking_env? && PROCESS_COUNT > 0
|
|||
# Use N processes (N defaults to 4)
|
||||
Minitest.parallel_executor = ForkingExecutor.new(PROCESS_COUNT)
|
||||
end
|
||||
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
require 'active_support/test_case'
|
||||
ActiveSupport::TestCase.my_tests_are_order_dependent!
|
||||
|
|
|
@ -340,3 +340,8 @@ def jruby_skip(message = '')
|
|||
end
|
||||
|
||||
require 'mocha/setup' # FIXME: stop using mocha
|
||||
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
require 'active_support/test_case'
|
||||
ActiveSupport::TestCase.my_tests_are_order_dependent!
|
||||
|
|
|
@ -13,3 +13,8 @@ I18n.enforce_available_locales = false
|
|||
require 'active_support/testing/autorun'
|
||||
|
||||
require 'mocha/setup' # FIXME: stop using mocha
|
||||
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
require 'active_support/test_case'
|
||||
ActiveSupport::TestCase.my_tests_are_order_dependent!
|
||||
|
|
|
@ -208,3 +208,8 @@ module InTimeZone
|
|||
end
|
||||
|
||||
require 'mocha/setup' # FIXME: stop using mocha
|
||||
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
require 'active_support/test_case'
|
||||
ActiveSupport::TestCase.my_tests_are_order_dependent!
|
||||
|
|
|
@ -38,3 +38,8 @@ def jruby_skip(message = '')
|
|||
end
|
||||
|
||||
require 'mocha/setup' # FIXME: stop using mocha
|
||||
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
require 'active_support/test_case'
|
||||
ActiveSupport::TestCase.my_tests_are_order_dependent!
|
||||
|
|
|
@ -28,6 +28,10 @@ def jruby_skip(message = '')
|
|||
end
|
||||
|
||||
class ActiveSupport::TestCase
|
||||
# FIXME: we have tests that depend on run order, we should fix that and
|
||||
# remove this method call.
|
||||
self.my_tests_are_order_dependent!
|
||||
|
||||
private
|
||||
|
||||
unless defined?(:capture)
|
||||
|
|
Loading…
Reference in New Issue