1
0
Fork 0
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:
David Heinemeier Hansson 2005-09-03 20:21:38 +00:00
parent a4994d077f
commit 9fdd453257

View file

@ -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