Browse Source

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

Thorsten Eckel 7 years ago
parent
commit
7ab4e7714b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/support/cache.rb

+ 1 - 1
spec/support/cache.rb

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