diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-03 20:21:38 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-03 20:21:38 +0000 |
commit | 9fdd453257c3a257ad614dfe640b516c9495c503 (patch) | |
tree | 3ddad7b1e3bb53a74c8fb01f889461726a602398 /railties/lib/initializer.rb | |
parent | a4994d077fef643fec335f4e4bcc8450e5c13a7f (diff) | |
download | rails-9fdd453257c3a257ad614dfe640b516c9495c503.tar.gz rails-9fdd453257c3a257ad614dfe640b516c9495c503.tar.bz2 rails-9fdd453257c3a257ad614dfe640b516c9495c503.zip |
Fix mocks dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/initializer.rb')
-rw-r--r-- | railties/lib/initializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |