Skip to content
This repository
Browse code

Fix broken tests caused by incomplete loading of active support.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 24064910d05d801eb77c5170aca2bbc2b3d11ccf 1 parent 8210f70
Nicholas Seckar authored November 07, 2005
2  activesupport/CHANGELOG
... ...
@@ -1,5 +1,7 @@
1 1
 *SVN*
2 2
 
  3
+* Fix broken tests caused by incomplete loading of active support. [Nicholas Seckar]
  4
+
3 5
 * Fix status pluralization bug so status_codes doesn't get pluralized as statuses_code.  #2758 [keithm@infused.org]
4 6
 
5 7
 * Added Kernel#silence_stderr to silence stderr for the duration of the given block [Sam Stephenson]
1  activesupport/lib/active_support/dependencies.rb
... ...
@@ -1,4 +1,5 @@
1 1
 require File.dirname(__FILE__) + '/module_attribute_accessors'
  2
+require File.dirname(__FILE__) + '/core_ext/load_error'
2 3
 
3 4
 module Dependencies #:nodoc:
4 5
   extend self
2  activesupport/test/dependencies_test.rb
@@ -20,7 +20,7 @@ def test_require_dependency_two_times
20 20
   end
21 21
 
22 22
   def test_require_missing_dependency
23  
-    assert_raises(LoadError) { require_dependency("missing_service") }
  23
+    assert_raises(MissingSourceFile) { require_dependency("missing_service") }
24 24
   end
25 25
   
26 26
   def test_require_missing_association

0 notes on commit 2406491

Please sign in to comment.
Something went wrong with that request. Please try again.