spec/rails_root/spec/controller_spec_helper.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 with_controller_assigns_propagate_to_partials(klass, value)
      old_value = klass.controller_assigns_propagate_to_partials
      begin
        klass.controller_assigns_propagate_to_partials = value
        yield
      ensure
        klass.controller_assigns_propagate_to_partials = old_value
      end
    end
def with_controller_assigns_propagate_to_partials ( klass , value ) old_value = klass . controller_assigns_propagate_to_partials begin klass . controller_assigns_propagate_to_partials = value yield ensure klass . controller_assigns_propagate_to_partials = old_value end end
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .
klass
value