simplify config loading

This commit is contained in:
wvengen 2014-09-11 16:40:09 +02:00
parent 92b6e6e28e
commit 8b83787252
2 changed files with 7 additions and 14 deletions

View file

@ -42,7 +42,7 @@ RSpec.configure do |config|
# reload foodsoft configuration, so that tests can use FoodsoftConfig.config[:foo]=x
# without messing up tests run after that
config.before(:each) do
FoodsoftConfig.send :reload!
FoodsoftConfig.init
end
# If true, the base class of anonymous controllers will be inferred