mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-15 17:45:53 -07:00
set up example scaffold with rspec + factorybot tests
This commit is contained in:
parent
533c921a6d
commit
d1e6fb1e39
23 changed files with 512 additions and 6 deletions
12
app/views/dashboard/examples/_example.html.erb
Normal file
12
app/views/dashboard/examples/_example.html.erb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div id="<%= dom_id example %>">
|
||||
<p>
|
||||
<strong>Text:</strong>
|
||||
<%= example.text %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Body:</strong>
|
||||
<%= example.body %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue