guard / guard-rspec

Guard::RSpec automatically run your specs (much like autotest)
https://rubygems.org/gems/guard-rspec
MIT License
1.31k stars 241 forks source link

fix: use long arguments when calling rspec #410

Closed matthewrossanderson closed 2 years ago

matthewrossanderson commented 5 years ago

This adds a fix adding long arguments when calling the underlying rspec command with the custom formatter.

This supports a wider range of usecases, like using a .rspec file. These long arguments are backwards compatible with their shorter -f and -r cousins. Those short arguments did not seem to work well when specifying long arguments elsewhere.

rake test:all_versions passed ✅