set up example scaffold with rspec + factorybot tests

This commit is contained in:
Nelson Jovel 2023-12-22 20:43:12 -08:00
parent 533c921a6d
commit d1e6fb1e39
23 changed files with 512 additions and 6 deletions

View file

@ -0,0 +1,10 @@
<h1>Editing example</h1>
<%= render "form", example: @example %>
<br>
<div>
<%= link_to "Show this example", @example %> |
<%= link_to "Back to examples", examples_path %>
</div>