From 7ab4e7714b264e2b6df27350c9d616bc588c72fc Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 27 Jun 2017 15:44:45 +0200 Subject: [PATCH] Fixed RSpec test behaviour to delte cache after each test to ensure clean base instead of once before all. --- spec/support/cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/cache.rb b/spec/support/cache.rb index 4a6b30119..ff2569724 100644 --- a/spec/support/cache.rb +++ b/spec/support/cache.rb @@ -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