mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Simplify path setup
This commit is contained in:
parent
9023e3b773
commit
bfc2b23128
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Rails
|
|||
class << self
|
||||
remove_possible_method :root
|
||||
def root
|
||||
@root ||= File.expand_path(File.join(File.dirname(__FILE__), '..', 'fixtures'))
|
||||
@root ||= File.expand_path('../../fixtures', __FILE__)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue