This has changed the way include glob option is expanded.
For example, the description of the include option shows spec/**/*_spec.rb,spec2/**/*_spec.rb as an example, which will no longer work with the current implementation. Now this glob pattern does not find any test files. The correct value is {spec/**/*_spec.rb,spec2/**/*_spec.rb}, (or maybe spec/**/*_spec.rb spec2/**/*_spec.rb could work too).
IMHO the change in 2.1.0 is a breaking change that is not backward compatible. At least in our project, the tests stopped working as a result of the change to this version. At any rate, I think it is better to fix the example value, so I have submitted this pull request.
The following changes have been added to
rspec-test
in 2.1.0.This has changed the way
include
glob option is expanded.For example, the description of the
include
option showsspec/**/*_spec.rb,spec2/**/*_spec.rb
as an example, which will no longer work with the current implementation. Now this glob pattern does not find any test files. The correct value is{spec/**/*_spec.rb,spec2/**/*_spec.rb}
, (or maybespec/**/*_spec.rb spec2/**/*_spec.rb
could work too).IMHO the change in 2.1.0 is a breaking change that is not backward compatible. At least in our project, the tests stopped working as a result of the change to this version. At any rate, I think it is better to fix the example value, so I have submitted this pull request.