Pull Favors is a Chrome extension that re-orders your RSpec and RSpec-compatible pull requests so that they are more readable.
It places feature-specs first.
It places other specs next to the files that they test.
Before
Alphabetical Order:
After
Feature specs first. Other specs paired with the files that they test.
Caveats
It expects feature specs to be in spec/features
.
Other specs should correspond to the files they test in the following way:
app/folder/file.rb
=> spec/folder/file_spec.rb
Usage
- Install Pull Favors from the Chrome Webstore.
- Visit a pull request which conforms to the standard, outlined above, i.e. https://github.com/18F/C2/pull/937/files.