Closed myronmarston closed 10 years ago
This is because both formatters are being used at once; .rspec
is requiring spec_helper
, which is detecting one file, no formatters, so adding documentation formatter, but the progress formatter is added by the command line... So it's require order issue in our setup...
Took me awhile to understand what you were saying here but I get it now. This is basically the same problem as #1280, but for the formatters rather than for files_to_run
. We can probably solve it in a similar way, although it's a bit trickier here...requires need to be processed before custom formatters are loaded, I think (in case the formatter is at a non-standard path and needs to be made available by --require
). We should be able to make it work some how, though...
Pretty much, it's a require vs formatter load order issue.
Fixed by #1353.
Notice this output from https://travis-ci.org/rspec/rspec-expectations/jobs/19367516#L2953
/cc @JonRowe