public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/JackDanger/rails.git
Move test related core_ext stuff out of regular core ext to prevent nasty 
surprises when you require active_support then use Test::Unit directly.
NZKoz (author)
Sun Jun 22 03:44:21 -0700 2008
commit  51e13d51adee3c69feab30aa4c0b08d2278ccc5f
tree    9c48ac4e22aae8aea84b82c76bd99fa93f5a92c8
parent  01637796d712943ebf9e9a76aa5c708edfab4d02
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *Edge*
0
 
0
+* Move the test related core_ext stuff out of core_ext so it's only loaded by the test helpers. [Michael Koziarski]
0
+
0
 * Add Inflection rules for String#humanize. #535 [dcmanges]
0
 
0
   ActiveSupport::Inflector.inflections do |inflect|
...
1
2
3
 
4
5
6
7
8
9
10
11
...
1
 
2
3
4
 
 
 
 
5
6
7
0
@@ -1,11 +1,7 @@
0
 require 'test/unit/testcase'
0
-require 'active_support/testing/setup_and_teardown'
0
 require 'active_support/testing/default'
0
+require 'active_support/testing/core_ext/test'
0
 
0
-# TODO: move to core_ext
0
-class Test::Unit::TestCase #:nodoc:
0
- include ActiveSupport::Testing::SetupAndTeardown
0
-end
0
 
0
 module ActiveSupport
0
   class TestCase < Test::Unit::TestCase

Comments

    No one has commented yet.