aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-10-01 17:22:42 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-01 17:22:42 -0700
commitff2fdcc52b391514cb62c2a1ef29827ac94914c6 (patch)
tree611174655a727e07022c7893ad1ff50caa178b27 /activesupport/lib/active_support
parent542ddd8c891e27278cdac26763b6ff8aadbfdf68 (diff)
downloadrails-ff2fdcc52b391514cb62c2a1ef29827ac94914c6.tar.gz
rails-ff2fdcc52b391514cb62c2a1ef29827ac94914c6.tar.bz2
rails-ff2fdcc52b391514cb62c2a1ef29827ac94914c6.zip
removing AS::Testing::Default in favor of just undefing default_test
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/test_case.rb3
-rw-r--r--activesupport/lib/active_support/testing/default.rb9
2 files changed, 1 insertions, 11 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index ed8c02ba3e..fb52fc7083 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -24,8 +24,7 @@ module ActiveSupport
else
Assertion = Test::Unit::AssertionFailedError
- require 'active_support/testing/default'
- include ActiveSupport::Testing::Default
+ undef :default_test
end
$tags = {}
diff --git a/activesupport/lib/active_support/testing/default.rb b/activesupport/lib/active_support/testing/default.rb
deleted file mode 100644
index a0bd6303c7..0000000000
--- a/activesupport/lib/active_support/testing/default.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-module ActiveSupport
- module Testing
- module Default #:nodoc:
- # Placeholder so test/unit ignores test cases without any tests.
- def default_test
- end
- end
- end
-end