diff options
-rw-r--r-- | activesupport/CHANGELOG | 2 | ||||
-rw-r--r-- | activesupport/test/option_merger_test.rb | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index ef5ecc10d1..2f22573f28 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix the requires in option_merger_test to unbreak AS tests. [Sam Stephenson] + * Make HashWithIndifferentAccess#update behave like Hash#update by returning the hash. #3419, #3425 [asnem@student.ethz.ch, JanPrill@blauton.de, Marcel Molina Jr.] * Add ActiveSupport::JSON and Object#to_json for converting Ruby objects to JSON strings. [Sam Stephenson] diff --git a/activesupport/test/option_merger_test.rb b/activesupport/test/option_merger_test.rb index 0142db5b65..baa2cd30f3 100644 --- a/activesupport/test/option_merger_test.rb +++ b/activesupport/test/option_merger_test.rb @@ -1,7 +1,9 @@ require 'test/unit' -$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib' -require 'active_support' +unless defined? ActiveSupport::OptionMerger + require File.dirname(__FILE__) + '/../lib/active_support/option_merger' + require File.dirname(__FILE__) + '/../lib/active_support/core_ext/object_and_class' +end class OptionMergerTest < Test::Unit::TestCase def setup |