From 4adae0a1e84d08eb5c21d02e5e3a3efbf0f67688 Mon Sep 17 00:00:00 2001 From: Kristina Lim Date: Wed, 19 Dec 2018 17:50:10 +0800 Subject: [PATCH] Disable Knapsack when running engine RSpec tests --- lib/tasks/specs.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/specs.rake b/lib/tasks/specs.rake index 6f9b2068cf..dddb5ffb54 100644 --- a/lib/tasks/specs.rake +++ b/lib/tasks/specs.rake @@ -10,7 +10,7 @@ namespace :openfoodnetwork do end def execute_rspec_for_engine(engine_path) - system "cd #{engine_path.expand_path} && bundle exec rspec" + system "cd #{engine_path.expand_path} && DISABLE_KNAPSACK=true bundle exec rspec" end engine_paths = detect_engine_paths