No, I don''t think so. Usually I just do something like this:
def do_get
get :index, :user_id => 1
end
it "should be successful" do
do_get
response.should be_a_success
end
Scott
On Apr 17, 2007, at 5:44 AM, Ashley Moran wrote:
> Hi
>
> Is there a render_action matcher to go with render_template? I
can''t
> see any mention of one in the docs. Do you have to still do it old-
> school?
>
> Thanks
> Ashley
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users