Module: RSpec::Rails::HelperExampleGroup::InstanceMethods
- Defined in:
- lib/rspec/rails/example/helper_example_group.rb
Instance Method Summary collapse
-
#helper ⇒ Object
Returns an instance of ActionView::Base with the helper being specified mixed in, along with any of the built-in rails helpers.
Instance Method Details
#helper ⇒ Object
Returns an instance of ActionView::Base with the helper being specified mixed in, along with any of the built-in rails helpers.
51 52 53 |
# File 'lib/rspec/rails/example/helper_example_group.rb', line 51 def helper _view.tap {|v| v.assign(view_assigns)} end |