I m fairly new to RoR and recently started learning BDD/Rspec for testing my application. I ve been looking for a way to spec an AJAX request, but so far I haven t found much documentation on this at all.
Anyone know how to do this? I m using rails 2.3.8, rspec 1.3.0 and mocha 0.9.8 for my stubs (which I m also in the process of learning...)