Commit 381a36747814fbb395e9feea72aab61699a146f0
1 parent
286e4b52
Exists in
master
and in
27 other branches
rails3: load mock on tests
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config/application.rb
... | ... | @@ -27,6 +27,7 @@ module Noosfero |
27 | 27 | config.autoload_paths += %W( #{Rails.root.join('app', 'sweepers')} ) |
28 | 28 | config.autoload_paths += Dir["#{config.root}/lib/**/"] |
29 | 29 | config.autoload_paths += Dir["#{config.root}/app/controllers/**/"] |
30 | + config.autoload_paths += %W( #{Rails.root.join('test', 'mocks', Rails.env)} ) | |
30 | 31 | |
31 | 32 | |
32 | 33 | # Only load the plugins named here, in the order given (default is alphabetical). | ... | ... |