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

doug livesey biot023 at gmail.com
Sun Feb 8 09:11:03 EST 2009


Groovy!Cheers,
   Doug.

2009/2/7 David Chelimsky <dchelimsky at gmail.com>

> On Sat, Feb 7, 2009 at 10:20 AM, Pat Maddox <pergesu at gmail.com> wrote:
> > On Sat, Feb 7, 2009 at 3:16 AM, doug livesey <biot023 at gmail.com> wrote:.
> >
> > def do_get
> >  get :index, :format => "xml"
> > end
> >
> > should work.  Notice it's a string instead of symbol.
>
> I should change the gen'd specs then. That's simpler, ay?
>
> >
> > Pat
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090208/68bf5d76/attachment.html>


More information about the rspec-users mailing list