spec/rails_root/spec/render_spec.rb
# Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .
def render_template_with_excess_variables
      with_ignoring_extra_controller_assigns(Views::Test::Needs, false) do
        @foobar = "foobar"
        @barfoo = "barfoo"
        render :template => 'test/render_default.html.rb'
      end
    end
def render_template_with_excess_variables with_ignoring_extra_controller_assigns ( Views :: Test :: Needs , false ) do @foobar = "foobar" @barfoo = "barfoo" render :template => 'test/render_default.html.rb' end end
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .