mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix mocks dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
a4994d077f
commit
9fdd453257
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ module Rails
|
|||
end
|
||||
|
||||
def default_load_paths
|
||||
paths = ["#{environment}/test/mocks/#{environment}"]
|
||||
paths = ["#{RAILS_ROOT}/test/mocks/#{environment}"]
|
||||
|
||||
# Then model subdirectories.
|
||||
# TODO: Don't include .rb models as load paths
|
||||
|
|
Loading…
Reference in a new issue