What is the best way to make a POST request from cucumber to create a new object?
Posted
by Jason
on Stack Overflow
See other posts from Stack Overflow
or by Jason
Published on 2010-04-12T22:57:54Z
Indexed on
2010/04/12
23:03 UTC
Read the original article
Hit count: 461
For several of my cuke scenarios, I want to POST the user to a page with an object in the params, so that Rails will make a new object in the database. Is there a convenient way to send a POST+params to an action (either using something in cucumber or rails) or do I have to write my own function using Net::Http?
© Stack Overflow or respective owner