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

Pat Maddox pergesu at gmail.com
Sat Feb 7 11:20:42 EST 2009

On Sat, Feb 7, 2009 at 3:16 AM, doug livesey <biot023 at gmail.com> wrote:.

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

should work.  Notice it's a string instead of symbol.


More information about the rspec-users mailing list