Re: [Rails] testing a REST API that receives params in json and returns data in json
Hi Emil,
-- I have also found that link and that only shows GET requests. Its a very good example for those. But I need to make a pull request where I need to send data in JSON just like the example you posted here in cucumber, and I dont seem to find the way to do this in Rspec. at least I cant make it receive the arguments in JSON.
all the best,
Andre
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAA6P50awaCSBsyfm%2BpwJms8DoC-qPSzv40VCu7hyaq6nAdLd%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home