Displaying 1 result from an estimated 1 matches for "kid_nam".
Did you mean:
kid_name
2013 Sep 27
0
how to write “Destroy kid” in cucumber
...troy kid
Then I should see "Kid deleted successfully"
Then one kid should not exist
<h1>Listing kids</h1>
<tr>
<th>Kid name</th>
<th colspan=3>Action</th>
</tr>
<% @kids.each do |kid| %>
<tr>
<td><%= kid.kid_name %></td>
<td><%= link_to ''Show'', kid %></td>
<td><%= link_to ''Edit'', edit_kid_path(kid) %></td>
<td><%= link_to ''Destroy'', kid, method: :delete,
data: { conf...