提交 d102791d 编写于 作者: A Aaron Patterson

ensure @fixture_connections is initialized in case an exception happens during setup

上级 d09b67cf
...@@ -822,6 +822,7 @@ def setup_fixtures ...@@ -822,6 +822,7 @@ def setup_fixtures
end end
@fixture_cache = {} @fixture_cache = {}
@fixture_connections = []
@@already_loaded_fixtures ||= {} @@already_loaded_fixtures ||= {}
# Load fixtures once and begin transaction. # Load fixtures once and begin transaction.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册