Source: show | on GitHub
# File actionpack/test/controller/mime_responds_test.rb, line 583 def index respond_with(resource) do |format| format.json { render :text => "JSON" } end end