Updated Testing and Rspec Tips (markdown)

David Cook
2026-02-02 16:20:14 +11:00
parent 6400644d76
commit 7cbdf70406

@@ -1,6 +1,7 @@
Please add to this collection of tips and tutorials as you find them.
<h2>Conventions and Tips</h2>
##### Controller vs Request specs
The codebase has mostly controller specs, but we have decided to preference request specs because they offer a more complete test. Where possible, please write new tests as **request** specs, and migrate old controller specs to request where it makes sense.