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

David Chelimsky dchelimsky at gmail.com
Sat Feb 7 13:54:08 EST 2009


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
>


More information about the rspec-users mailing list