[rspec-users] Speccing the format portion of a controller
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"
> should work. Notice it's a string instead of symbol.
I should change the gen'd specs then. That's simpler, ay?
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users