lib/daigaku/test.rb in daigaku-0.6.0 vs lib/daigaku/test.rb in daigaku-1.0.0
- old
+ new
@@ -16,10 +16,10 @@
patched_spec_code = insert_code(spec_code, solution_code.to_s)
temp_spec = File.join(File.dirname(@path), "temp_#{File.basename(@path)}")
create_temp_spec(temp_spec, patched_spec_code)
- result = `rspec --color --format j #{temp_spec}`
+ result = `rspec --no-color --order defined --format j #{temp_spec}`
remove_file(temp_spec)
TestResult.new(result)
end