Skip to content

Commit c640f0c

Browse files
committed
Use not_to instead of to_not.
* Do not split infinitives.
1 parent c1037bb commit c640f0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

style/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ Testing
171171
* Place helper methods for feature specs directly in a top-level `Features`
172172
module.
173173
* Prefer `eq` to `==` in RSpec.
174+
* Use `not_to` instead of `to_not` in RSpec expectations.
174175
* Separate setup, exercise, verification, and teardown phases with newlines.
175176
* Use one factories.rb file per project.
176177
* Use names like `ROLE_ACTION_spec.rb`, such as

0 commit comments

Comments
 (0)