Disable Knapsack when running engine RSpec tests

This commit is contained in:
Kristina Lim
2018-12-19 17:50:10 +08:00
parent a460e9d35f
commit 4adae0a1e8

View File

@@ -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