diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 5 | ||||
-rw-r--r-- | activesupport/lib/active_support/testing.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/testing/default.rb | 11 |
3 files changed, 17 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb new file mode 100644 index 0000000000..be8f8b17fc --- /dev/null +++ b/activesupport/lib/active_support/test_case.rb @@ -0,0 +1,5 @@ +module ActiveSupport + class TestCase < Test::Unit::TestCase + include ActiveSupport::Testing::Default + end +end
\ No newline at end of file diff --git a/activesupport/lib/active_support/testing.rb b/activesupport/lib/active_support/testing.rb new file mode 100644 index 0000000000..1bf30cbbdd --- /dev/null +++ b/activesupport/lib/active_support/testing.rb @@ -0,0 +1 @@ +require 'active_support/testing/default'
\ No newline at end of file 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 + |