class Spec::Rails::Example::ViewExampleGroupController
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