提交 24064910 编写于 作者: N Nicholas Seckar

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
上级 8210f70c
*SVN*
* Fix broken tests caused by incomplete loading of active support. [Nicholas Seckar]
* Fix status pluralization bug so status_codes doesn't get pluralized as statuses_code. #2758 [keithm@infused.org]
* Added Kernel#silence_stderr to silence stderr for the duration of the given block [Sam Stephenson]
......
require File.dirname(__FILE__) + '/module_attribute_accessors'
require File.dirname(__FILE__) + '/core_ext/load_error'
module Dependencies #:nodoc:
extend self
......
......@@ -20,7 +20,7 @@ def test_require_dependency_two_times
end
def test_require_missing_dependency
assert_raises(LoadError) { require_dependency("missing_service") }
assert_raises(MissingSourceFile) { require_dependency("missing_service") }
end
def test_require_missing_association
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册