module RSpec::Rails::ViewExampleGroup::ExampleMethods

def _include_controller_helpers

def _include_controller_helpers
  helpers = controller._helpers
  view.singleton_class.class_eval do
    include helpers unless included_modules.include?(helpers)
  end
end