From 687da64fe6687d0556b355b206efc50f9c29711c Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Mon, 17 Aug 2015 12:05:55 +0200 Subject: [PATCH] ensure pristine test object --- spec/features/menu_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/features/menu_spec.rb b/spec/features/menu_spec.rb index 4261b2122c..e79fb0d44b 100644 --- a/spec/features/menu_spec.rb +++ b/spec/features/menu_spec.rb @@ -34,6 +34,8 @@ describe 'project menu', type: :feature do before do allow(User).to receive(:current).and_return current_user + # remove filters that might be left overs from former specs + CostQuery::Cache.reset! end ##