Module: RSpec::Rails::Matchers::RenderTemplate
- Included in:
- ControllerExampleGroup, RequestExampleGroup, ViewExampleGroup
- Defined in:
- lib/rspec/rails/matchers/have_rendered.rb
Overview
Matcher for template rendering.
Instance Method Summary collapse
-
#have_rendered(options, message = nil) ⇒ Object
(also: #render_template)
Delegates to
assert_template
.
Instance Method Details
#have_rendered(options, message = nil) ⇒ Object Also known as: render_template
Delegates to assert_template
.
35 36 37 |
# File 'lib/rspec/rails/matchers/have_rendered.rb', line 35 def have_rendered(, =nil) RenderTemplateMatcher.new(self, , ) end |