Fixed RSpec test behaviour to delte cache after each test to ensure clean base instead of once before all.

This commit is contained in:
Thorsten Eckel 2017-06-27 15:44:45 +02:00
parent 4ee181b5d6
commit 7ab4e7714b

View file

@ -1,5 +1,5 @@
RSpec.configure do |config|
config.before(:all) do
config.before(:each) do
# clear the cache otherwise it won't
# be able to recognize the rollbacks
# done by RSpec