Methods

Included Modules

Files

Class/Module Index [+]

Quicksearch

RSpec::Rails::HelperExampleGroup

Public Instance Methods

helper() click to toggle source

Returns an instance of ActionView::Base with the helper being specified mixed in, along with any of the built-in rails helpers.

# File lib/rspec/rails/example/helper_example_group.rb, line 19
def helper
  _view.tap do |v|
    v.extend(ApplicationHelper) if defined?(ApplicationHelper)
    v.assign(view_assigns)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.