# File lib/rspec/rails/example/view_example_group.rb, line 28 def _default_helper base = metadata[:example_group][:description].split('/').first (base.camelize + 'Helper').constantize if base rescue NameError nil end
# File lib/rspec/rails/example/view_example_group.rb, line 35 def _default_helpers helpers = [_default_helper].compact helpers << ApplicationHelper if Object.const_defined?('ApplicationHelper') helpers end
[Validate]
Generated with the Darkfish Rdoc Generator 2.