From 2cc0cac3efce92bf9d0e8636f2889c37ca9f57ab Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Fri, 26 Oct 2007 02:21:21 +0000 Subject: Introduce TestCase subclasses for testing rails applications allowing tests to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/testing/default.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 activesupport/lib/active_support/testing/default.rb (limited to 'activesupport/lib/active_support/testing') diff --git a/activesupport/lib/active_support/testing/default.rb b/activesupport/lib/active_support/testing/default.rb new file mode 100644 index 0000000000..0cb0eea7d2 --- /dev/null +++ b/activesupport/lib/active_support/testing/default.rb @@ -0,0 +1,11 @@ +module ActiveSupport + module Testing + module Default + def run(*args) + return if method_name == :default_test + super + end + end + end +end + -- cgit v1.2.3