aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-23 13:35:12 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-23 13:35:12 -0300
commit4a0f314d8a54c090e53400f84508a3118c0fe2b4 (patch)
tree547e2c2632e6961ed9dc740098ce098d159db067 /activesupport/test
parent550c1f095028d480e486388b43b880b8f01c48c5 (diff)
parent5a973b314bde0948b451f60c7cab980f96286099 (diff)
downloadrails-4a0f314d8a54c090e53400f84508a3118c0fe2b4.tar.gz
rails-4a0f314d8a54c090e53400f84508a3118c0fe2b4.tar.bz2
rails-4a0f314d8a54c090e53400f84508a3118c0fe2b4.zip
Merge pull request #19475 from tgxworld/no_one_has_to_suck_anymore
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