aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorGuo Xiang Tan <tgx_world@hotmail.com>2015-03-24 00:27:53 +0800
committerGuo Xiang Tan <tgx_world@hotmail.com>2015-03-24 00:27:53 +0800
commit5a973b314bde0948b451f60c7cab980f96286099 (patch)
tree547e2c2632e6961ed9dc740098ce098d159db067 /activesupport/test
parent550c1f095028d480e486388b43b880b8f01c48c5 (diff)
downloadrails-5a973b314bde0948b451f60c7cab980f96286099.tar.gz
rails-5a973b314bde0948b451f60c7cab980f96286099.tar.bz2
rails-5a973b314bde0948b451f60c7cab980f96286099.zip
Remove alias for `i_suck_and_my_tests_are_order_dependent`.
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/test_case_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/activesupport/test/test_case_test.rb b/activesupport/test/test_case_test.rb
index 151b623171..9e6d1a91d0 100644
--- a/activesupport/test/test_case_test.rb
+++ b/activesupport/test/test_case_test.rb
@@ -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