allow protected keys to be set/unset + config_db tests

This commit is contained in:
wvengen 2014-06-25 16:21:36 +02:00
parent 9beaac2627
commit 6115979bae
7 changed files with 179 additions and 13 deletions

View file

@ -7,6 +7,9 @@ Foodsoft::Application.configure do
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
# We clear the cache for each test, let's do that in memory.
config.cache_store = :memory_store
# Do not eager load code on boot. This avoids loading your whole application
# just for the purpose of running a single test. If you are using a tool that
# preloads Rails for running tests, you may have to set it to true.