i'd like to stub out render and i'd like to test that a certain layout is chosen
bonus catch: in the test env, that layout file will not exist
is there a clever way to detect if the controller has selected a layout without rendering, and without triggering an ActionView::MissingTemplate error?
(this is on a Rails 2.3 app, but feel free to chat rails 3)