diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-11-30 21:26:49 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-11-30 21:26:49 +0100 |
commit | ab8345271eb87ff155d8bd5f22f53a4cf2902c26 (patch) | |
tree | a775c04b2f78d0e5ee566251f4cfbbaaf1051328 /spec/mspec/spec/integration | |
parent | 93a512414cbe3713f478038f6d4f5fe81c4eb62a (diff) |
Update to ruby/mspec@a401f63
Diffstat (limited to 'spec/mspec/spec/integration')
-rw-r--r-- | spec/mspec/spec/integration/run_spec.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/mspec/spec/integration/run_spec.rb b/spec/mspec/spec/integration/run_spec.rb index 6703e83150..df10f77094 100644 --- a/spec/mspec/spec/integration/run_spec.rb +++ b/spec/mspec/spec/integration/run_spec.rb @@ -37,8 +37,14 @@ EOS ret.success?.should == false end - it "runs the specs in parallel with -j" do + it "runs the specs in parallel with -j using the dotted formatter" do out, ret = run_mspec("run", "-j #{fixtures}/a_spec.rb #{fixtures}/b_spec.rb") + out.should == "RUBY_DESCRIPTION\n...\n#{a_spec_output}\n#{ab_stats}" + ret.success?.should == false + end + + it "runs the specs in parallel with -j -fa" do + out, ret = run_mspec("run", "-j -fa #{fixtures}/a_spec.rb #{fixtures}/b_spec.rb") progress_bar = "\r[/ | 0% | 00:00:00] \e[0;32m 0F \e[0;32m 0E\e[0m " + "\r[- | ==================50% | 00:00:00] \e[0;32m 0F \e[0;32m 0E\e[0m " + |