I am writing a very intensive AJAX application using Rails 3.0.4 and testing it with RSpec. Most of my actions with the controller simply respond to the "js" format, that is:
respond_to do |format|
f.js
end
and others are json. I found how JSON output, but I'm not quite sure how to check javascript output from other actions.
Any ideas? Thank you
source
share