allow protected keys to be set/unset + config_db tests
This commit is contained in:
parent
9beaac2627
commit
6115979bae
7 changed files with 179 additions and 13 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue