From 9fdd453257c3a257ad614dfe640b516c9495c503 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 3 Sep 2005 20:21:38 +0000 Subject: Fix mocks dir git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/initializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib') diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 98f24f3343..f54fb1aed3 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -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 -- cgit v1.2.3