Merge pull request #4989 from luisramos0/specs_in_engines

Adapt task that runs engine specs
This commit is contained in:
Luis Ramos
2020-03-16 19:17:04 +00:00
committed by GitHub
3 changed files with 1 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ namespace :ofn do
end
def execute_rspec_for_engine(engine_path)
system "cd #{engine_path.expand_path} && DISABLE_KNAPSACK=true bundle exec rspec"
system "DISABLE_KNAPSACK=true bundle exec rspec #{engine_path.expand_path}/spec"
end
engine_paths = detect_engine_paths