class Shoulda::ActionController::Matchers::RenderWithLayout

def rendered_with_expected_layout?

def rendered_with_expected_layout?
  return true if @layout.nil?
  layout == @layout
end