mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user