Groups
Sign in
Groups
shoulda
Conversations
About
Send feedback
Help
nested create action
0 views
Skip to first unread message
benji
unread,
Jun 22, 2010, 5:59:31 AM
6/22/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to shoulda
How to call a create action on a nested resource with shoulda?
The following code does not actual work - the end_user_id won't be
used as the id for my parent resource.
/blog_items_controller_test.rb
post :create, :blog_item => {:id =>
blog_items(:blog_item_one).id}, :end_user_id =>
end_users(:end_user_two).id, :format => "xml"
Any ideas?
Reply all
Reply to author
Forward
0 new messages