class Spec::Rails::Example::ViewExampleGroupController
:nodoc:
def add_helper(name)
def add_helper(name) begin helper_module = "#{name}_helper".camelize.constantize rescue return end (class << template; self; end).class_eval do include helper_module end end
def add_helper_for(template_path)
def add_helper_for(template_path) add_helper(template_path.split('/')[0]) end
def forget_variables_added_to_assigns
def forget_variables_added_to_assigns end