Permalink
Browse files

Fix mocks dir

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent a4994d0 commit 9fdd453257c3a257ad614dfe640b516c9495c503 @dhh dhh committed Sep 3, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/initializer.rb
@@ -131,7 +131,7 @@ def default_frameworks
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

0 comments on commit 9fdd453

Please sign in to comment.