[rspec-users] controller.should render_action ?
Scott Taylor
mailing_lists at railsnewbie.com
Tue Apr 17 11:53:32 EDT 2007
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
More information about the rspec-users
mailing list