提交 bfc2b231 编写于 作者: C Carlos Antonio da Silva

Simplify path setup

上级 9023e3b7
...@@ -7,7 +7,7 @@ module Rails ...@@ -7,7 +7,7 @@ module Rails
class << self class << self
remove_possible_method :root remove_possible_method :root
def root def root
@root ||= File.expand_path(File.join(File.dirname(__FILE__), '..', 'fixtures')) @root ||= File.expand_path('../../fixtures', __FILE__)
end end
end end
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册