Displaying 1 result from an estimated 1 matches for "new_kid_path".
2013 Sep 27
0
how to write “Destroy kid” in cucumber
...;Edit'', edit_kid_path(kid) %></td>
<td><%= link_to ''Destroy'', kid, method: :delete,
data: { confirm: ''Are you sure?'' } %></td>
</tr>
<% end %>
<%= link_to ''New Kid'', new_kid_path %>
what to write in definition:
When /^I Destroy kid$/ do
#what to write......
end
Please suggest me.
Thank you
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe fr...