diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-08-12 10:51:41 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-08-12 10:51:41 -0300 |
commit | e81f3c210eca074ed6227bd1c40835d44761c09e (patch) | |
tree | 8b29d0d06f0cfcc6ebac3d3a401508b4d80f3f77 /activesupport/lib/active_support/test_case.rb | |
parent | 9424b48d39fc2f646f34ffb088568a148313c0e8 (diff) | |
download | rails-e81f3c210eca074ed6227bd1c40835d44761c09e.tar.gz rails-e81f3c210eca074ed6227bd1c40835d44761c09e.tar.bz2 rails-e81f3c210eca074ed6227bd1c40835d44761c09e.zip |
Nobody sucks so nobody should call this awful method name
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 154c8e5d14..0df599b692 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -15,6 +15,10 @@ module ActiveSupport class TestCase < ::Minitest::Test Assertion = Minitest::Assertion + class << self + alias :my_tests_are_order_dependent! :i_suck_and_my_tests_are_order_dependent! + end + alias_method :method_name, :name include ActiveSupport::Testing::TaggedLogging |