title: How to test simple Ajax response through RSpec in Rails?
body: <p>I need to test some ajax requst for my controller and result of this action (through expect). I now how I can visit some page using Capybara, but how can I make DELETE request using AJAX for my resource? I need to make DELETE request for 'admin/menus/:id' using Ajax. Thanks! </p>