Module: RSpec::Rails::Matchers::RenderTemplate Private
- Included in:
- ControllerExampleGroup, RequestExampleGroup, ViewExampleGroup
- Defined in:
- lib/rspec/rails/matchers/have_rendered.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Matcher for template rendering.
Instance Method Summary collapse
-
#have_rendered(options, message = nil) ⇒ Object
(also: #render_template)
private
Delegates to
assert_template
.
Instance Method Details
#have_rendered(options, message = nil) ⇒ Object Also known as: render_template
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Delegates to assert_template
.
36 37 38 |
# File 'lib/rspec/rails/matchers/have_rendered.rb', line 36 def have_rendered(, = nil) RenderTemplateMatcher.new(self, , ) end |