Rails testing: assert render action
- by deb
How can I write a test to assert that the action new is rendered?
def method
  ...
  render :action => :new
end
I'm looking for something like:
assert_equal layout, @response.layout
assert_equal format, @request.format
I know I can't do @response.action
Thanks in advance!
Deb