[rspec-users] Speccing the format portion of a controller

doug livesey biot023 at gmail.com
Sat Feb 7 06:16:49 EST 2009

Hi -- I have a hacky work-around for this, but wondered if anyone could tell
me the canonical way of sending the get/put/etc. portion of a spec with
format information.I guess with something that might look like this:

def do_get
  get :index, :format => :xml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090207/83d5282a/attachment.html>

More information about the rspec-users mailing list