mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove alias for i_suck_and_my_tests_are_order_dependent
.
This commit is contained in:
parent
550c1f0950
commit
5a973b314b
2 changed files with 0 additions and 13 deletions
|
@ -45,8 +45,6 @@ module ActiveSupport
|
|||
|
||||
test_order
|
||||
end
|
||||
|
||||
alias :my_tests_are_order_dependent! :i_suck_and_my_tests_are_order_dependent!
|
||||
end
|
||||
|
||||
alias_method :method_name, :name
|
||||
|
|
|
@ -205,15 +205,4 @@ class TestOrderTest < ActiveSupport::TestCase
|
|||
assert_equal :random, self.class.test_order
|
||||
assert_equal :random, Class.new(ActiveSupport::TestCase).test_order
|
||||
end
|
||||
|
||||
def test_i_suck_and_my_tests_are_order_dependent!
|
||||
ActiveSupport::TestCase.test_order = :random
|
||||
|
||||
klass = Class.new(ActiveSupport::TestCase) do
|
||||
i_suck_and_my_tests_are_order_dependent!
|
||||
end
|
||||
|
||||
assert_equal :alpha, klass.test_order
|
||||
assert_equal :random, ActiveSupport::TestCase.test_order
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue