spec/rails_root/spec/render_spec.rb
def render_erector_with_locals_from_erb
      @local_foo = "hihi"
      @local_bar = "byebye"
      render :template => 'test/erector_with_locals_from_erb.html.erb'
    end
# 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_erector_with_locals_from_erb
      @local_foo = "hihi"
      @local_bar = "byebye"
      render :template => 'test/erector_with_locals_from_erb.html.erb'
    end
def render_erector_with_locals_from_erb @local_foo = "hihi" @local_bar = "byebye" render :template => 'test/erector_with_locals_from_erb.html.erb' end
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .