simplify config loading
This commit is contained in:
parent
92b6e6e28e
commit
8b83787252
2 changed files with 7 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue