execute test files concurrently

This commit is contained in:
Hauke Klement
2015-03-16 17:51:46 +01:00
parent 8c6490c9f7
commit 1f46f7c3af
3 changed files with 36 additions and 29 deletions

View File

@ -210,7 +210,7 @@ describe ExercisesController do
before(:each) do
allow_any_instance_of(Submission).to receive(:normalized_score).and_return(1)
expect(controller).to receive(:execute_test_files).and_return([{score: 1, weight: 1}])
expect(controller).to receive(:collect_test_results).and_return([{score: 1, weight: 1}])
expect(controller).to receive(:score_submission).and_call_original
end