Skip to content

Commit 7f6a149

Browse files
committed
remove spacing
1 parent 86f370f commit 7f6a149

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

context/usage.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ A step by step scenario when trying to increase the codebase's coverage would be
250250
- Minitest on Rails - `COVERAGE=FullSummary bin/rails test`
251251
- Sus - `COVERAGE=FullSummary bundle exec sus`
252252
- to run specific files:
253-
- RSpec - `COVERAGE=FullSummary bundle exec rspec file1 file2 file3`
254-
- RSpec on Rails - `COVERAGE=FullSummary bin/rails spec file1 file2 file3`
255-
- Minitest on Rails - `COVERAGE=FullSummary bin/rails test file1 file2 file3`
256-
- Sus - `COVERAGE=FullSummary bundle exec sus file1 file2 file3
253+
- RSpec - `COVERAGE=FullSummary bundle exec rspec file1 file2 file3`
254+
- RSpec on Rails - `COVERAGE=FullSummary bin/rails spec file1 file2 file3`
255+
- Minitest on Rails - `COVERAGE=FullSummary bin/rails test file1 file2 file3`
256+
- Sus - `COVERAGE=FullSummary bundle exec sus file1 file2 file3
257257
8. After you have finished writing the tests, you should run the test suite again with `PartialSummary` and look if the coverage for the previously uncovered lines in the aforementioned files has increased. You should keep iterating through this until you reach a satisfactory coverage percentage (let's say 90-95% unless explicitly mentioned otherwise), or until you cannot improve the coverage any further.
258258

259259
### Code Writing Best Practices
@@ -262,9 +262,9 @@ A step by step scenario when trying to increase the codebase's coverage would be
262262
2. Look for a Rubocop config file in the codebase and follow the mentioned rules if possible. Rubocop rules live in `.rubocop.yml`.
263263
3. Every spec file mirrors the class path (`app/services/foo/bar.rb` > `spec/services/foo/bar_spec.rb`).
264264
4. A quick bullet list eliminates guesswork:
265-
- 100-char lines
266-
- single quotes except when string interpolation needed
267-
- parentheses on multi-line method calls
265+
- 100-char lines
266+
- single quotes except when string interpolation needed
267+
- parentheses on multi-line method calls
268268
5. Make code as modularized as possible.
269269
## Security Considerations
270270

0 commit comments

Comments
 (0)